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-31 04:32:59 +0800
commitb490b30cce583f11e161bbc7d7fc57153ad04f41 (patch)
treea13df9242b29f100c620511fdf3f20906c962ee6
parentdc4b96974596947f8214442327ad11b794106e3e (diff)
downloadgsoc2013-epiphany-b490b30cce583f11e161bbc7d7fc57153ad04f41.tar
gsoc2013-epiphany-b490b30cce583f11e161bbc7d7fc57153ad04f41.tar.gz
gsoc2013-epiphany-b490b30cce583f11e161bbc7d7fc57153ad04f41.tar.bz2
gsoc2013-epiphany-b490b30cce583f11e161bbc7d7fc57153ad04f41.tar.lz
gsoc2013-epiphany-b490b30cce583f11e161bbc7d7fc57153ad04f41.tar.xz
gsoc2013-epiphany-b490b30cce583f11e161bbc7d7fc57153ad04f41.tar.zst
gsoc2013-epiphany-b490b30cce583f11e161bbc7d7fc57153ad04f41.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);
-}