diff options
-rw-r--r-- | docs/reference/pluma-sections.txt | 1 | ||||
-rw-r--r-- | pluma/pluma-window.c | 28 | ||||
-rw-r--r-- | pluma/pluma-window.h | 3 |
3 files changed, 0 insertions, 32 deletions
diff --git a/docs/reference/pluma-sections.txt b/docs/reference/pluma-sections.txt index 873e28c2..4c7963d4 100644 --- a/docs/reference/pluma-sections.txt +++ b/docs/reference/pluma-sections.txt @@ -411,7 +411,6 @@ pluma_window_get_statusbar pluma_window_get_ui_manager pluma_window_get_state pluma_window_get_tab_from_location -pluma_window_get_tab_from_uri pluma_window_get_message_bus <SUBSECTION Standard> PLUMA_WINDOW diff --git a/pluma/pluma-window.c b/pluma/pluma-window.c index 35571dfe..d9e36a3a 100644 --- a/pluma/pluma-window.c +++ b/pluma/pluma-window.c @@ -4648,31 +4648,3 @@ pluma_window_get_message_bus (PlumaWindow *window) return window->priv->message_bus; } - -/** - * pluma_window_get_tab_from_uri: - * @window: a #PlumaWindow - * @uri: the uri to get the #PlumaTab - * - * Gets the #PlumaTab that matches @uri. - * - * Returns: (transfer none): the #PlumaTab associated with @uri. - * - * Deprecated: 2.24: Use pluma_window_get_tab_from_location() instead. - */ -PlumaTab * -pluma_window_get_tab_from_uri (PlumaWindow *window, - const gchar *uri) -{ - GFile *f; - PlumaTab *tab; - - g_return_val_if_fail (PLUMA_IS_WINDOW (window), NULL); - g_return_val_if_fail (uri != NULL, NULL); - - f = g_file_new_for_uri (uri); - tab = pluma_window_get_tab_from_location (window, f); - g_object_unref (f); - - return tab; -} diff --git a/pluma/pluma-window.h b/pluma/pluma-window.h index 8baf2cb2..b90baa32 100644 --- a/pluma/pluma-window.h +++ b/pluma/pluma-window.h @@ -154,9 +154,6 @@ PlumaWindowState pluma_window_get_state (PlumaWindow *window); PlumaTab *pluma_window_get_tab_from_location (PlumaWindow *window, GFile *location); -PlumaTab *pluma_window_get_tab_from_uri (PlumaWindow *window, - const gchar *uri); - /* Message bus */ PlumaMessageBus *pluma_window_get_message_bus (PlumaWindow *window); |