aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-02-22 05:41:02 +0800
committerHans Petter <hansp@src.gnome.org>2003-02-22 05:41:02 +0800
commit2dd7b84edba6021442f9fe1c1fa5b8c3bb39fc26 (patch)
tree961c4536ac690c648f0970559562d3c228cc5e81 /calendar/gui/e-day-view.c
parentd40f089a706484364ceb499d6bb4f6d823b92b09 (diff)
downloadgsoc2013-evolution-2dd7b84edba6021442f9fe1c1fa5b8c3bb39fc26.tar.gz
gsoc2013-evolution-2dd7b84edba6021442f9fe1c1fa5b8c3bb39fc26.tar.zst
gsoc2013-evolution-2dd7b84edba6021442f9fe1c1fa5b8c3bb39fc26.zip
GObject, not GtkObject. (calendar_model_destroy): ->
2003-02-21 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-model.c (calendar_model_class_init): GObject, not GtkObject. (calendar_model_destroy): -> calendar_model_finalize (). * gui/calendar-view.c (calendar_view_class_init): GObject, not GtkObject. (calendar_view_destroy): -> calendar_view_finalize (). * gui/comp-editor-factory.c (comp_editor_factory_class_init): GObject, not GtkObject. (comp_editor_factory_destroy): -> comp_editor_factory_finalize (). * gui/e-day-view.c (e_day_view_long_event_button_press): gtk_signal_disconnect () -> g_signal_handler_disconnect (). (e_day_view_on_event_button_press): Ditto. (e_day_view_on_long_event_click): Ditto. (e_day_view_on_event_click): Ditto. (e_day_view_on_event_double_click): Ditto. (e_day_view_on_delete_appointment): Ditto. * gui/e-week-view.c (e_week_view_on_text_item_event): gtk_signal_disconnect () -> g_signal_handler_disconnect (). * gui/alarm-notify/alarm-notify.c (AlarmNotify_RemoveCalendar): Don't cast to GtkObject. svn path=/trunk/; revision=19995
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index ce74f4793c..e580c04b79 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -3262,7 +3262,7 @@ e_day_view_on_long_event_button_press (EDayView *day_view,
gtk_widget_grab_focus (GTK_WIDGET (day_view));
if (!destroyed) {
- gtk_signal_disconnect (GTK_OBJECT (e->comp), id);
+ g_signal_handler_disconnect (e->comp, id);
e_day_view_set_selected_time_range_in_top_visible (day_view, e->start, e->end);
@@ -3314,7 +3314,7 @@ e_day_view_on_event_button_press (EDayView *day_view,
gtk_widget_grab_focus (GTK_WIDGET (day_view));
if (!destroyed) {
- gtk_signal_disconnect (GTK_OBJECT (e->comp), id);
+ g_signal_handler_disconnect (e->comp, id);
e_day_view_set_selected_time_range_visible (day_view, e->start, e->end);
@@ -3372,7 +3372,7 @@ e_day_view_on_long_event_click (EDayView *day_view,
if (destroyed)
return;
- gtk_signal_disconnect (GTK_OBJECT (event->comp), id);
+ g_signal_handler_disconnect (event->comp, id);
if (gdk_pointer_grab (GTK_LAYOUT (day_view->top_canvas)->bin_window, FALSE,
GDK_POINTER_MOTION_MASK
@@ -3452,7 +3452,7 @@ e_day_view_on_event_click (EDayView *day_view,
if (destroyed)
return;
- gtk_signal_disconnect (GTK_OBJECT (event->comp), id);
+ g_signal_handler_disconnect (event->comp, id);
if (gdk_pointer_grab (GTK_LAYOUT (day_view->main_canvas)->bin_window, FALSE,
GDK_POINTER_MOTION_MASK
@@ -3604,7 +3604,7 @@ e_day_view_on_event_double_click (EDayView *day_view,
e_day_view_stop_editing_event (day_view);
if (!destroyed) {
- gtk_signal_disconnect (GTK_OBJECT (event->comp), id);
+ g_signal_handler_disconnect (event->comp, id);
if (day_view->calendar)
gnome_calendar_edit_object (day_view->calendar, event->comp, FALSE);
@@ -4135,7 +4135,7 @@ e_day_view_on_delete_appointment (GtkWidget *widget, gpointer data)
e_day_view_stop_editing_event (day_view);
if (!destroyed) {
- gtk_signal_disconnect (GTK_OBJECT (event->comp), id);
+ g_signal_handler_disconnect (event->comp, id);
e_day_view_delete_event_internal (day_view, event);
}