aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-08-02 19:46:17 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-08-03 18:44:42 +0800
commit7ab9fdce35dd7160c87d4f5150df29258b001f4c (patch)
treef3025614b613d7abf6bbf1f5ce8f145942eead6e
parent1232a842ed4cbaaf4f4159676d1027546bf55977 (diff)
downloadgsoc2013-epiphany-7ab9fdce35dd7160c87d4f5150df29258b001f4c.tar
gsoc2013-epiphany-7ab9fdce35dd7160c87d4f5150df29258b001f4c.tar.gz
gsoc2013-epiphany-7ab9fdce35dd7160c87d4f5150df29258b001f4c.tar.bz2
gsoc2013-epiphany-7ab9fdce35dd7160c87d4f5150df29258b001f4c.tar.lz
gsoc2013-epiphany-7ab9fdce35dd7160c87d4f5150df29258b001f4c.tar.xz
gsoc2013-epiphany-7ab9fdce35dd7160c87d4f5150df29258b001f4c.tar.zst
gsoc2013-epiphany-7ab9fdce35dd7160c87d4f5150df29258b001f4c.zip
ephy-gui: remove ephy_gui_connect_checkbutton_to_gconf
It's functionality can be replaced by GSettings API, plus it's not being used anywhere. Bug #625921
-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);
-}