diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-09 05:05:41 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-09 05:05:41 +0800 |
commit | e93ca197f1fd37e2a35020f8717fe3c9547cfb2f (patch) | |
tree | e7e28bbe04591105fec9ccdbc0b11f3d615ab96f /calendar/gui/calendar-commands.c | |
parent | ba1c0d0543d02df34348f27683ebd30a27d68502 (diff) | |
download | gsoc2013-evolution-e93ca197f1fd37e2a35020f8717fe3c9547cfb2f.tar.gz 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-commands.c')
-rw-r--r-- | calendar/gui/calendar-commands.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/calendar/gui/calendar-commands.c b/calendar/gui/calendar-commands.c index 0f24a6bf98..90fbb796a2 100644 --- a/calendar/gui/calendar-commands.c +++ b/calendar/gui/calendar-commands.c @@ -605,13 +605,13 @@ gcal_calendar_focus_change_cb (GnomeCalendar *gcal, gboolean in, gpointer data) g_assert (focus != NULL); if (in) { - gtk_signal_connect (GTK_OBJECT (gcal), "calendar_selection_changed", - GTK_SIGNAL_FUNC (gcal_calendar_selection_changed_cb), control); + g_signal_connect (gcal, "calendar_selection_changed", + G_CALLBACK (gcal_calendar_selection_changed_cb), control); sensitize_calendar_commands (gcal, control, TRUE); focus->calendar_focused = TRUE; } else if (focus->calendar_focused) { gtk_signal_disconnect_by_func (GTK_OBJECT (gcal), - GTK_SIGNAL_FUNC (gcal_calendar_selection_changed_cb), + G_CALLBACK (gcal_calendar_selection_changed_cb), control); sensitize_calendar_commands (gcal, control, FALSE); focus->calendar_focused = FALSE; @@ -631,8 +631,8 @@ gcal_taskpad_focus_change_cb (GnomeCalendar *gcal, gboolean in, gpointer data) g_assert (focus != NULL); if (in) { - gtk_signal_connect (GTK_OBJECT (gcal), "taskpad_selection_changed", - GTK_SIGNAL_FUNC (gcal_taskpad_selection_changed_cb), control); + g_signal_connect (gcal, "taskpad_selection_changed", + G_CALLBACK (gcal_taskpad_selection_changed_cb), control); sensitize_taskpad_commands (gcal, control, TRUE); focus->taskpad_focused = TRUE; } else if (focus->taskpad_focused) { @@ -642,7 +642,7 @@ gcal_taskpad_focus_change_cb (GnomeCalendar *gcal, gboolean in, gpointer data) * the taskpad was in fact focused. */ gtk_signal_disconnect_by_func (GTK_OBJECT (gcal), - GTK_SIGNAL_FUNC (gcal_taskpad_selection_changed_cb), + G_CALLBACK (gcal_taskpad_selection_changed_cb), control); sensitize_taskpad_commands (gcal, control, FALSE); focus->taskpad_focused = FALSE; @@ -728,13 +728,13 @@ calendar_control_activate (BonoboControl *control, gnome_calendar_setup_view_menus (gcal, uic); - gtk_signal_connect (GTK_OBJECT (gcal), "dates_shown_changed", - GTK_SIGNAL_FUNC (gcal_calendar_dates_change_cb), - control); - gtk_signal_connect (GTK_OBJECT (gcal), "calendar_focus_change", - GTK_SIGNAL_FUNC (gcal_calendar_focus_change_cb), control); - gtk_signal_connect (GTK_OBJECT (gcal), "taskpad_focus_change", - GTK_SIGNAL_FUNC (gcal_taskpad_focus_change_cb), control); + g_signal_connect (gcal, "dates_shown_changed", + G_CALLBACK (gcal_calendar_dates_change_cb), + control); + g_signal_connect (gcal, "calendar_focus_change", + G_CALLBACK (gcal_calendar_focus_change_cb), control); + g_signal_connect (gcal, "taskpad_focus_change", + G_CALLBACK (gcal_taskpad_focus_change_cb), control); sensitize_calendar_commands (gcal, control, FALSE); sensitize_taskpad_commands (gcal, control, FALSE); @@ -801,8 +801,8 @@ new_calendar (void) return NULL; } - gtk_signal_connect (GTK_OBJECT (gcal), "destroy", - GTK_SIGNAL_FUNC (on_calendar_destroyed), NULL); + g_signal_connect (gcal, "destroy", + G_CALLBACK (on_calendar_destroyed), NULL); all_calendars = g_list_prepend (all_calendars, gcal); |