[epiphany] ephy-gui: remove ephy_gui_connect_checkbutton_to_gconf
- From: Diego Escalante Urrelo <diegoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-gui: remove ephy_gui_connect_checkbutton_to_gconf
- Date: Tue, 3 Aug 2010 10:46:13 +0000 (UTC)
commit 7ab9fdce35dd7160c87d4f5150df29258b001f4c
Author: Diego Escalante Urrelo <descalante igalia com>
Date: Mon Aug 2 13:46:17 2010 +0200
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
lib/ephy-gui.c | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c
index f92e0be..02aeffb 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);
-}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]