From fcaaa48d5f3608f44e3ca137e469cfd913e579c7 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Wed, 5 Mar 2003 13:03:16 +0000 Subject: cast CalClient's to GObject, not GtkObject. 2003-03-05 Rodrigo Moya * gui/calendar-offline-handler.c (backend_go_offline, backend_go_online): cast CalClient's to GObject, not GtkObject. svn path=/trunk/; revision=20166 --- calendar/gui/calendar-offline-handler.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'calendar/gui') 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; } } -- cgit