aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-11-28 10:23:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-11-28 10:28:53 +0800
commitdff45d6cd8a6d631bf4126e8a484c6b6c62b9a9a (patch)
tree2f2b2e0371575ef69a03afab1173689616968d94 /plugins
parenta7699bb29f5ca0c09d68cbad65cd65bedf1307c5 (diff)
downloadgsoc2013-evolution-dff45d6cd8a6d631bf4126e8a484c6b6c62b9a9a.tar.gz
gsoc2013-evolution-dff45d6cd8a6d631bf4126e8a484c6b6c62b9a9a.tar.zst
gsoc2013-evolution-dff45d6cd8a6d631bf4126e8a484c6b6c62b9a9a.zip
Remove some unnecessary GConf crud.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/itip-formatter/itip-formatter.c6
-rw-r--r--plugins/prefer-plain/prefer-plain.c1
2 files changed, 2 insertions, 5 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 916a853652..b7ac7be82e 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -3130,8 +3130,7 @@ format_itip (EPlugin *ep,
}
static void
-delete_toggled_cb (GtkWidget *widget,
- gpointer data)
+delete_toggled_cb (GtkWidget *widget)
{
GSettings *settings;
gboolean active;
@@ -3196,7 +3195,6 @@ GtkWidget *
itip_formatter_page_factory (EPlugin *ep,
EConfigHookItemFactoryData *hook_data)
{
- EMConfigTargetPrefs *target = (EMConfigTargetPrefs *) hook_data->config->target;
GtkWidget *page;
GtkWidget *tab_label;
GtkWidget *frame;
@@ -3243,7 +3241,7 @@ itip_formatter_page_factory (EPlugin *ep,
check = gtk_check_button_new_with_mnemonic (_("_Delete message after acting"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), g_settings_get_boolean (settings, CONF_KEY_DELETE));
- g_signal_connect (GTK_TOGGLE_BUTTON (check), "toggled", G_CALLBACK (delete_toggled_cb), target);
+ g_signal_connect (GTK_TOGGLE_BUTTON (check), "toggled", G_CALLBACK (delete_toggled_cb), NULL);
gtk_box_pack_start (GTK_BOX (inner_vbox), check, FALSE, FALSE, 0);
g_object_unref (settings);
diff --git a/plugins/prefer-plain/prefer-plain.c b/plugins/prefer-plain/prefer-plain.c
index c46e903ec0..5a8c4b6d5b 100644
--- a/plugins/prefer-plain/prefer-plain.c
+++ b/plugins/prefer-plain/prefer-plain.c
@@ -298,7 +298,6 @@ GtkWidget *
org_gnome_prefer_plain_config_mode (EPlugin *epl,
struct _EConfigHookItemFactoryData *data)
{
- /*EMConfigTargetPrefs *ep = (EMConfigTargetPrefs *)data->target;*/
GtkComboBox *dropdown;
GtkCellRenderer *cell;
GtkListStore *store;