aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-model.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-09 05:05:41 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-09 05:05:41 +0800
commite93ca197f1fd37e2a35020f8717fe3c9547cfb2f (patch)
treee7e28bbe04591105fec9ccdbc0b11f3d615ab96f /calendar/gui/calendar-model.c
parentba1c0d0543d02df34348f27683ebd30a27d68502 (diff)
downloadgsoc2013-evolution-e93ca197f1fd37e2a35020f8717fe3c9547cfb2f.tar
gsoc2013-evolution-e93ca197f1fd37e2a35020f8717fe3c9547cfb2f.tar.gz
gsoc2013-evolution-e93ca197f1fd37e2a35020f8717fe3c9547cfb2f.tar.bz2
gsoc2013-evolution-e93ca197f1fd37e2a35020f8717fe3c9547cfb2f.tar.lz
gsoc2013-evolution-e93ca197f1fd37e2a35020f8717fe3c9547cfb2f.tar.xz
gsoc2013-evolution-e93ca197f1fd37e2a35020f8717fe3c9547cfb2f.tar.zst
gsoc2013-evolution-e93ca197f1fd37e2a35020f8717fe3c9547cfb2f.zip
Use g_signal_connect() instead of gtk_signal_connect(). Likewise.
* gui/calendar-commands.c: Use g_signal_connect() instead of gtk_signal_connect(). * calendar-commands.c: Likewise. * calendar-config.c: Likewise. * calendar-model.c: Likewise. * comp-editor-factory.c: Likewise. * component-factory.c: Likewise. * control-factory.c: Likewise. * e-calendar-table.c: Likewise. * e-comp-editor-registry.c: Likewise. * e-day-view-time-item.c: Likewise. * e-day-view.c: Likewise. * e-itip-control.c: Likewise. * e-meeting-model.c: Likewise. * e-meeting-time-sel.c: Likewise. * e-tasks.c: Likewise. * e-timezone-entry.c: Likewise. * e-week-view.c: Likewise. * gnome-cal.c: Likewise. * goto.c: Likewise. * tasks-control.c: Likewise. * tasks-migrate.c: Likewise. * weekday-picker.c: Likewise. svn path=/trunk/; revision=18672
Diffstat (limited to 'calendar/gui/calendar-model.c')
-rw-r--r--calendar/gui/calendar-model.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c
index dd7be86eea..deb23e1cc3 100644
--- a/calendar/gui/calendar-model.c
+++ b/calendar/gui/calendar-model.c
@@ -876,7 +876,7 @@ calendar_model_value_at (ETableModel *etm, int col, int row)
}
}
- cleanup:
+ cleanup:
cal_component_free_attendee_list (attendees);
return GINT_TO_POINTER (retval);
break;
@@ -2001,14 +2001,14 @@ update_query (CalendarModel *model)
return;
}
- gtk_signal_connect (GTK_OBJECT (priv->query), "obj_updated",
- GTK_SIGNAL_FUNC (query_obj_updated_cb), model);
- gtk_signal_connect (GTK_OBJECT (priv->query), "obj_removed",
- GTK_SIGNAL_FUNC (query_obj_removed_cb), model);
- gtk_signal_connect (GTK_OBJECT (priv->query), "query_done",
- GTK_SIGNAL_FUNC (query_query_done_cb), model);
- gtk_signal_connect (GTK_OBJECT (priv->query), "eval_error",
- GTK_SIGNAL_FUNC (query_eval_error_cb), model);
+ g_signal_connect (priv->query, "obj_updated",
+ G_CALLBACK (query_obj_updated_cb), model);
+ g_signal_connect (priv->query, "obj_removed",
+ G_CALLBACK (query_obj_removed_cb), model);
+ g_signal_connect (priv->query, "query_done",
+ G_CALLBACK (query_query_done_cb), model);
+ g_signal_connect (priv->query, "eval_error",
+ G_CALLBACK (query_eval_error_cb), model);
}
/* Callback used when a calendar is opened into the server */
@@ -2186,8 +2186,7 @@ calendar_model_set_cal_client (CalendarModel *model, CalClient *client, CalObjTy
if (cal_client_get_load_state (priv->client) == CAL_CLIENT_LOAD_LOADED)
update_query (model);
else
- gtk_signal_connect (GTK_OBJECT (priv->client), "cal_opened",
- GTK_SIGNAL_FUNC (cal_opened_cb), model);
+ g_signal_connect (priv->client, "cal_opened", G_CALLBACK (cal_opened_cb), model);
}
}
@@ -2296,7 +2295,7 @@ calendar_model_mark_task_complete (CalendarModel *model,
**/
CalComponent *
calendar_model_get_component (CalendarModel *model,
- gint row)
+ gint row)
{
CalendarModelPrivate *priv;