[gedit] Remove deprecated func.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Remove deprecated func.
- Date: Tue, 27 Apr 2010 11:38:37 +0000 (UTC)
commit 1f479548cd685a475c88a56e64a02a9531feeb49
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Apr 3 13:04:58 2010 +0200
Remove deprecated func.
gedit/gedit-window.c | 28 ----------------------------
1 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index 644927e..57c2cf1 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -4792,31 +4792,3 @@ gedit_window_get_message_bus (GeditWindow *window)
return window->priv->message_bus;
}
-
-/**
- * gedit_window_get_tab_from_uri:
- * @window: a #GeditWindow
- * @uri: the uri to get the #GeditTab
- *
- * Gets the #GeditTab that matches @uri.
- *
- * Returns: the #GeditTab associated with @uri.
- *
- * Deprecated: 2.24: Use gedit_window_get_tab_from_location() instead.
- */
-GeditTab *
-gedit_window_get_tab_from_uri (GeditWindow *window,
- const gchar *uri)
-{
- GFile *f;
- GeditTab *tab;
-
- g_return_val_if_fail (GEDIT_IS_WINDOW (window), NULL);
- g_return_val_if_fail (uri != NULL, NULL);
-
- f = g_file_new_for_uri (uri);
- tab = gedit_window_get_tab_from_location (window, f);
- g_object_unref (f);
-
- return tab;
-}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]