]> Pileus Git - ~andy/gtk/commitdiff
Remove unused function
authorJavier Jardón <jjardon@gnome.org>
Wed, 21 Oct 2009 03:33:58 +0000 (05:33 +0200)
committerJavier Jardón <jjardon@gnome.org>
Wed, 21 Oct 2009 17:39:46 +0000 (19:39 +0200)
gtk/gtkaboutdialog.c

index 9cb8422a6387c1e7298350b971f1b056ebe13818..af7f2cd734e74c0802eda92959a03769444f9972 100644 (file)
@@ -192,8 +192,6 @@ static void                 gtk_about_dialog_set_property   (GObject
 static void                 gtk_about_dialog_show           (GtkWidget          *widge);
 static void                 update_name_version             (GtkAboutDialog     *about);
 static GtkIconSet *         icon_set_new_from_pixbufs       (GList              *pixbufs);
-static void                 activate_url                    (GtkWidget          *widget,
-                                                            gpointer            data);
 static void                 follow_if_link                  (GtkAboutDialog     *about,
                                                             GtkTextView        *text_view,
                                                             GtkTextIter        *iter);
@@ -1755,30 +1753,6 @@ gtk_about_dialog_set_logo_icon_name (GtkAboutDialog *about,
   g_object_thaw_notify (G_OBJECT (about));
 }
 
-static void
-activate_url (GtkWidget *widget, 
-             gpointer   data)
-{
-  GtkAboutDialog *about = GTK_ABOUT_DIALOG (data);
-  const gchar *url = gtk_link_button_get_uri (GTK_LINK_BUTTON (widget));
-  GtkAboutDialogActivateLinkFunc url_hook;
-  gpointer url_hook_data;
-
-  if (activate_url_hook_set)
-    {
-      url_hook = activate_url_hook;
-      url_hook_data = activate_url_hook_data;
-    }
-  else
-    {
-      url_hook = default_url_hook;
-      url_hook_data = NULL;
-    }
-
-  if (url_hook)
-    url_hook (about, url, url_hook_data);
-}
-
 static void
 follow_if_link (GtkAboutDialog *about,
                GtkTextView    *text_view,