aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ephy-gui.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c
index f92e0befe..02aeffb3e 100644
--- a/lib/ephy-gui.c
+++ b/lib/ephy-gui.c
@@ -20,7 +20,6 @@
#include "config.h"
#include "ephy-gui.h"
-#include "eel-gconf-extensions.h"
#include "ephy-stock-icons.h"
#include "ephy-debug.h"
@@ -506,20 +505,3 @@ ephy_gui_message_dialog_get_content_box (GtkWidget *dialog)
return container;
}
-
-static void
-checkbutton_toggled_cb (GtkToggleButton *button,
- const char *pref)
-{
- eel_gconf_set_boolean (pref, gtk_toggle_button_get_active (button));
-}
-
-void
-ephy_gui_connect_checkbutton_to_gconf (GtkWidget *widget,
- const char *pref)
-{
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (widget),
- eel_gconf_get_boolean (pref));
- g_signal_connect (widget, "toggled",
- G_CALLBACK (checkbutton_toggled_cb), (gpointer) pref);
-}