diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2008-05-23 01:27:48 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-05-23 01:27:48 +0800 |
commit | e99e12428d46db3be2878f6c2ca63bd7510149f4 (patch) | |
tree | f3e50bd91132262198bea8761f84913a232790bd /calendar/gui/calendar-commands.c | |
parent | e1d0bcf694c806af75cb4d9683d1941d9721a1f9 (diff) | |
download | gsoc2013-evolution-e99e12428d46db3be2878f6c2ca63bd7510149f4.tar.gz gsoc2013-evolution-e99e12428d46db3be2878f6c2ca63bd7510149f4.tar.zst gsoc2013-evolution-e99e12428d46db3be2878f6c2ca63bd7510149f4.zip |
** Fixes bug #534360
2008-05-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #534360
Migrate from deprecated GtkObject symbols to GObject equivalents.
Touches over 150 files in all components; too many to list.
svn path=/trunk/; revision=35526
Diffstat (limited to 'calendar/gui/calendar-commands.c')
-rw-r--r-- | calendar/gui/calendar-commands.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/calendar/gui/calendar-commands.c b/calendar/gui/calendar-commands.c index e3fddaf99f..7f787668e7 100644 --- a/calendar/gui/calendar-commands.c +++ b/calendar/gui/calendar-commands.c @@ -522,9 +522,8 @@ gcal_calendar_focus_change_cb (GnomeCalendar *gcal, gboolean in, gpointer data) calendar_control_sensitize_calendar_commands (control, gcal, TRUE); focus->calendar_focused = TRUE; } else if (focus->calendar_focused) { - gtk_signal_disconnect_by_func (GTK_OBJECT (gcal), - G_CALLBACK (gcal_calendar_selection_changed_cb), - control); + g_signal_handlers_disconnect_by_func ( + gcal, G_CALLBACK (gcal_calendar_selection_changed_cb), control); calendar_control_sensitize_calendar_commands (control, gcal, FALSE); focus->calendar_focused = FALSE; } @@ -553,9 +552,8 @@ gcal_taskpad_focus_change_cb (GnomeCalendar *gcal, gboolean in, gpointer data) * of blindly assumming that we are getting this event because * the taskpad was in fact focused. */ - gtk_signal_disconnect_by_func (GTK_OBJECT (gcal), - G_CALLBACK (gcal_taskpad_selection_changed_cb), - control); + g_signal_handlers_disconnect_by_func ( + gcal, G_CALLBACK (gcal_taskpad_selection_changed_cb), control); sensitize_taskpad_commands (gcal, control, FALSE); focus->taskpad_focused = FALSE; } |