[gedit] Remove gedit_utils_activate_url.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Remove gedit_utils_activate_url.
- Date: Fri, 24 Sep 2010 15:47:26 +0000 (UTC)
commit 2ed422d8e51e343a259a9bf6e8e6cdb976ccfd8c
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Fri Sep 24 17:41:00 2010 +0200
Remove gedit_utils_activate_url.
This is now managed by gtk+ itself so we don't need to add the hook.
gedit/gedit-utils.c | 8 --------
gedit/gedit-utils.h | 4 ----
gedit/gedit.c | 2 --
3 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/gedit/gedit-utils.c b/gedit/gedit-utils.c
index a047d0f..4f94057 100644
--- a/gedit/gedit-utils.c
+++ b/gedit/gedit-utils.c
@@ -962,14 +962,6 @@ gedit_utils_get_current_viewport (GdkScreen *screen,
#endif
}
-void
-gedit_utils_activate_url (GtkAboutDialog *about,
- const gchar *url,
- gpointer data)
-{
- gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (about)), url, GDK_CURRENT_TIME, NULL);
-}
-
static gboolean
is_valid_scheme_character (gchar c)
{
diff --git a/gedit/gedit-utils.h b/gedit/gedit-utils.h
index 8a6853d..9836b35 100644
--- a/gedit/gedit-utils.h
+++ b/gedit/gedit-utils.h
@@ -121,10 +121,6 @@ void gedit_utils_get_current_viewport (GdkScreen *screen,
gint *x,
gint *y);
-void gedit_utils_activate_url (GtkAboutDialog *about,
- const gchar *url,
- gpointer data);
-
gboolean gedit_utils_is_valid_location (GFile *location);
gboolean gedit_utils_get_ui_objects (const gchar *filename,
diff --git a/gedit/gedit.c b/gedit/gedit.c
index 6c9b9cc..fd0e48c 100644
--- a/gedit/gedit.c
+++ b/gedit/gedit.c
@@ -178,8 +178,6 @@ gedit_main (gboolean service)
gedit_debug_message (DEBUG_APP, "Init plugins");
engine = gedit_plugins_engine_get_default ();
- gtk_about_dialog_set_url_hook (gedit_utils_activate_url, NULL, NULL);
-
app = gedit_app_get_default ();
/* Initialize session management */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]