From d020cb4aa34e786a15a71be72679f37b6164507e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Wed, 21 Oct 2009 05:33:58 +0200 Subject: [PATCH] Remove unused function --- gtk/gtkaboutdialog.c | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index 9cb8422a63..af7f2cd734 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -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,