aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-calendar.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-15 01:59:52 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-15 01:59:52 +0800
commit74b947cdfcc362f5d7709b97d4289b095b724d9a (patch)
tree59f3f578b906ca9a4893e226b0b35dd048d1435f /my-evolution/e-summary-calendar.c
parent792733a3c6a6a90b6c3535aa28a0041a354bdf56 (diff)
downloadgsoc2013-evolution-74b947cdfcc362f5d7709b97d4289b095b724d9a.tar.gz
gsoc2013-evolution-74b947cdfcc362f5d7709b97d4289b095b724d9a.tar.zst
gsoc2013-evolution-74b947cdfcc362f5d7709b97d4289b095b724d9a.zip
Replaced all gtk_signal_connect() calls with g_signal_connect() ones.
* e-summary-calendar.c: Replaced all gtk_signal_connect() calls with g_signal_connect() ones. * e-summary-mail.c: Likewise. * e-summary-offline-handler.c: Likewise. * e-summary-preferences.c: Likewise. * e-summary-shown.c: Likewise. * e-summary-tasks.c: Likewise. * e-summary.c: Likewise. svn path=/trunk/; revision=18754
Diffstat (limited to 'my-evolution/e-summary-calendar.c')
-rw-r--r--my-evolution/e-summary-calendar.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/my-evolution/e-summary-calendar.c b/my-evolution/e-summary-calendar.c
index 4714cea746..0bb57276e8 100644
--- a/my-evolution/e-summary-calendar.c
+++ b/my-evolution/e-summary-calendar.c
@@ -555,12 +555,9 @@ setup_calendar (ESummary *summary)
calendar->client = cal_client_new ();
- gtk_signal_connect (GTK_OBJECT (calendar->client), "cal-opened",
- GTK_SIGNAL_FUNC (cal_opened_cb), summary);
- gtk_signal_connect (GTK_OBJECT (calendar->client), "obj-updated",
- GTK_SIGNAL_FUNC (obj_changed_cb), summary);
- gtk_signal_connect (GTK_OBJECT (calendar->client), "obj-removed",
- GTK_SIGNAL_FUNC (obj_changed_cb), summary);
+ g_signal_connect (calendar->client, "cal-opened", G_CALLBACK (cal_opened_cb), summary);
+ g_signal_connect (calendar->client, "obj-updated", G_CALLBACK (obj_changed_cb), summary);
+ g_signal_connect (calendar->client, "obj-removed", G_CALLBACK (obj_changed_cb), summary);
if (! cal_client_open_default_calendar (calendar->client, FALSE))
g_message ("Open calendar failed");
@@ -592,8 +589,7 @@ setup_config_listener (ESummary *summary)
calendar->config_listener = e_config_listener_new ();
- gtk_signal_connect (GTK_OBJECT (calendar->config_listener), "key_changed",
- GTK_SIGNAL_FUNC (config_listener_key_changed_cb), summary);
+ g_signal_connect (calendar->config_listener, "key_changed", G_CALLBACK (config_listener_key_changed_cb), summary);
setup_calendar (summary);
}