aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-21 03:22:26 +0800
committerXan Lopez <xan@igalia.com>2012-01-21 03:22:26 +0800
commit75f90a8df1d718247a71ce64e6e5af5320316fdd (patch)
treefeb7f2ebcb0f172860919c6765dee5e93dad00cb /src
parent6f14b118fb152df1fcad486d607493f8a4bc3f99 (diff)
downloadgsoc2013-epiphany-75f90a8df1d718247a71ce64e6e5af5320316fdd.tar.gz
gsoc2013-epiphany-75f90a8df1d718247a71ce64e6e5af5320316fdd.tar.zst
gsoc2013-epiphany-75f90a8df1d718247a71ce64e6e5af5320316fdd.zip
ephy-window: remove "add-widget" callback from GtkUIManager
We don't add widgets to our UI directly from the UI manager, so it's useless.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index a3d7238e7..8cfa995ca 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -741,15 +741,6 @@ destroy_fullscreen_popup (EphyWindow *window)
}
static void
-add_widget (GtkUIManager *manager,
- GtkWidget *widget,
- EphyWindow *window)
-{
- gtk_box_pack_start (GTK_BOX (window->priv->menu_dock),
- widget, FALSE, FALSE, 0);
-}
-
-static void
exit_fullscreen_clicked_cb (EphyWindow *window)
{
GtkAction *action;
@@ -1644,7 +1635,6 @@ setup_ui_manager (EphyWindow *window)
"tooltip", _("Open a new tab"),
NULL);
gtk_action_group_add_action_with_accel (action_group, action, "<control>T");
-
g_object_unref (action);
action = g_object_new (EPHY_TYPE_COMBINED_STOP_RELOAD_ACTION,
@@ -1668,7 +1658,6 @@ setup_ui_manager (EphyWindow *window)
g_object_unref (action_group);
window->priv->manager = manager;
- g_signal_connect (manager, "add_widget", G_CALLBACK (add_widget), window);
gtk_window_add_accel_group (GTK_WINDOW (window),
gtk_ui_manager_get_accel_group (manager));
}