aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-03-05 21:03:16 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-03-05 21:03:16 +0800
commitfcaaa48d5f3608f44e3ca137e469cfd913e579c7 (patch)
tree7524a188c3e9d2c917758d84f4ae09433add038e /calendar/gui
parente7c18148d0f4d7d68c819aadacfcd1056b1a7d00 (diff)
downloadgsoc2013-evolution-fcaaa48d5f3608f44e3ca137e469cfd913e579c7.tar
gsoc2013-evolution-fcaaa48d5f3608f44e3ca137e469cfd913e579c7.tar.gz
gsoc2013-evolution-fcaaa48d5f3608f44e3ca137e469cfd913e579c7.tar.bz2
gsoc2013-evolution-fcaaa48d5f3608f44e3ca137e469cfd913e579c7.tar.lz
gsoc2013-evolution-fcaaa48d5f3608f44e3ca137e469cfd913e579c7.tar.xz
gsoc2013-evolution-fcaaa48d5f3608f44e3ca137e469cfd913e579c7.tar.zst
gsoc2013-evolution-fcaaa48d5f3608f44e3ca137e469cfd913e579c7.zip
cast CalClient's to GObject, not GtkObject.
2003-03-05 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-offline-handler.c (backend_go_offline, backend_go_online): cast CalClient's to GObject, not GtkObject. svn path=/trunk/; revision=20166
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/calendar-offline-handler.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/calendar-offline-handler.c b/calendar/gui/calendar-offline-handler.c
index 97b015d970..c5b742d614 100644
--- a/calendar/gui/calendar-offline-handler.c
+++ b/calendar/gui/calendar-offline-handler.c
@@ -166,7 +166,7 @@ backend_cal_opened_online (CalClient *client, CalClientOpenStatus status, gpoint
CalendarOfflineHandler *offline_handler = data;
if (status != CAL_CLIENT_OPEN_SUCCESS) {
- gtk_object_unref (GTK_OBJECT (client));
+ g_object_unref (G_OBJECT (client));
return;
}
@@ -200,11 +200,11 @@ backend_go_online (gpointer data, gpointer user_data)
gboolean success;
client = cal_client_new ();
- gtk_signal_connect (GTK_OBJECT (client), "cal_opened",
- backend_cal_opened_online, offline_handler);
+ g_signal_connect (G_OBJECT (client), "cal_opened",
+ G_CALLBACK (backend_cal_opened_online), offline_handler);
success = cal_client_open_calendar (client, uri, TRUE);
if (!success) {
- gtk_object_unref (GTK_OBJECT (client));
+ g_object_unref (G_OBJECT (client));
return;
}
}