[giggle] Remove unneded hook code
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [giggle] Remove unneded hook code
- Date: Thu, 13 May 2010 22:57:46 +0000 (UTC)
commit 2e4c20ebf49ff4d3d13abecbb80f7be00ad2efc5
Author: Javier Jardón <jjardon gnome org>
Date: Fri May 14 00:54:51 2010 +0200
Remove unneded hook code
gtk_show_uri() is called now by default
src/giggle-window.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/src/giggle-window.c b/src/giggle-window.c
index b24cab9..39ec61a 100644
--- a/src/giggle-window.c
+++ b/src/giggle-window.c
@@ -1673,22 +1673,6 @@ window_plugin_added_cb (GigglePluginManager *manager,
}
static void
-about_activate_link (GtkAboutDialog *about,
- const char *uri,
- gpointer data)
-{
- window_visit_uri (data, uri);
-}
-
-static void
-button_activate_link (GtkLinkButton *button,
- const char *uri,
- gpointer data)
-{
- window_visit_uri (data, uri);
-}
-
-static void
giggle_window_init (GiggleWindow *window)
{
GiggleWindowPriv *priv;
@@ -1757,9 +1741,6 @@ giggle_window_init (GiggleWindow *window)
g_signal_connect (priv->plugin_manager, "plugin-added",
G_CALLBACK (window_plugin_added_cb), window);
- gtk_about_dialog_set_url_hook (about_activate_link, window, NULL);
- gtk_link_button_set_uri_hook (button_activate_link, window, NULL);
-
window_update_search_ui (window);
window_history_update_ui (window);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]