xed-window: Remove an unused function
This commit is contained in:
parent
8cb1a6dad8
commit
ae4b648a79
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue