[gtk+/gtk-2-90] Remove obsolete helper function activate_url in GtkAboutDialog
- From: Christian Dywan <cdywan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90] Remove obsolete helper function activate_url in GtkAboutDialog
- Date: Thu, 22 Oct 2009 23:59:59 +0000 (UTC)
commit bd59ce1f837994937c0ca66df4bcdd27aadb5b87
Author: Christian Dywan <christian twotoasts de>
Date: Fri Oct 23 01:57:55 2009 +0200
Remove obsolete helper function activate_url in GtkAboutDialog
gtk/gtkaboutdialog.c | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index 131f069..33539bf 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -191,8 +191,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);
@@ -1697,30 +1695,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]