[gtk+] Remove unused function
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Remove unused function
- Date: Wed, 21 Oct 2009 17:40:08 +0000 (UTC)
commit d020cb4aa34e786a15a71be72679f37b6164507e
Author: Javier Jardón <jjardon gnome org>
Date: Wed Oct 21 05:33:58 2009 +0200
Remove unused function
gtk/gtkaboutdialog.c | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index 9cb8422..af7f2cd 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);
@@ -1756,30 +1754,6 @@ gtk_about_dialog_set_logo_icon_name (GtkAboutDialog *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,
GtkTextIter *iter)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]