xed-window: Remove an unused function

This commit is contained in:
JosephMcc 2016-12-26 11:49:28 -08:00
parent 8cb1a6dad8
commit ae4b648a79
3 changed files with 0 additions and 30 deletions

View File

@ -409,7 +409,6 @@ xed_window_get_statusbar
xed_window_get_ui_manager
xed_window_get_state
xed_window_get_tab_from_location
xed_window_get_tab_from_uri
xed_window_get_message_bus
<SUBSECTION Standard>
XED_WINDOW

View File

@ -4076,31 +4076,3 @@ xed_window_get_message_bus (XedWindow *window)
g_return_val_if_fail(XED_IS_WINDOW (window), NULL);
return window->priv->message_bus;
}
/**
* xed_window_get_tab_from_uri:
* @window: a #XedWindow
* @uri: the uri to get the #XedTab
*
* Gets the #XedTab that matches @uri.
*
* Returns: (transfer none): the #XedTab associated with @uri.
*
* Deprecated: 2.24: Use xed_window_get_tab_from_location() instead.
*/
XedTab *
xed_window_get_tab_from_uri (XedWindow *window,
const gchar *uri)
{
GFile *f;
XedTab *tab;
g_return_val_if_fail(XED_IS_WINDOW (window), NULL);
g_return_val_if_fail(uri != NULL, NULL);
f = g_file_new_for_uri (uri);
tab = xed_window_get_tab_from_location (window, f);
g_object_unref (f);
return tab;
}

View File

@ -97,7 +97,6 @@ GtkWidget *xed_window_get_searchbar (XedWindow *window);
GtkUIManager *xed_window_get_ui_manager (XedWindow *window);
XedWindowState xed_window_get_state (XedWindow *window);
XedTab *xed_window_get_tab_from_location (XedWindow *window, GFile *location);
XedTab *xed_window_get_tab_from_uri (XedWindow *window, const gchar *uri);
/* Message bus */
XedMessageBus *xed_window_get_message_bus (XedWindow *window);