aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-prefs.c
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2013-03-04 18:00:13 -0500
committerRyan Lortie <desrt@desrt.ca>2013-03-04 18:00:13 -0500
commit75073d4d01add8591336f9d16f8668f3d4807ca6 (patch)
tree91c1cb20b920539a3c0c20bc504db0ad09e03a4a /src/datetime-prefs.c
parent028e652e4dc2e5ec602654faeba366b777935086 (diff)
downloadayatana-indicator-datetime-75073d4d01add8591336f9d16f8668f3d4807ca6.tar.gz
ayatana-indicator-datetime-75073d4d01add8591336f9d16f8668f3d4807ca6.tar.bz2
ayatana-indicator-datetime-75073d4d01add8591336f9d16f8668f3d4807ca6.zip
prefs: remove second signal connection for toggle_ntp
Copy/paste error. Thanks Charles. :)
Diffstat (limited to 'src/datetime-prefs.c')
-rw-r--r--src/datetime-prefs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/datetime-prefs.c b/src/datetime-prefs.c
index 13c0fc2..ddcc43f 100644
--- a/src/datetime-prefs.c
+++ b/src/datetime-prefs.c
@@ -256,10 +256,7 @@ proxy_ready (GObject *object, GAsyncResult *res, IndicatorDatetimePanel * self)
if (value != NULL)
{
if (g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN))
- {
- gtk_widget_set_sensitive (priv->auto_radio, g_variant_get_boolean (value));
- g_signal_connect (priv->auto_radio, "notify::active", G_CALLBACK (toggle_ntp), self);
- }
+ gtk_widget_set_sensitive (priv->auto_radio, g_variant_get_boolean (value));
g_variant_unref (value);
}