diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2004-03-04 19:17:56 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-03-04 19:17:56 +0800 |
commit | 8e8fcea05d20217a19285cb7599d1d0b96de4b3b (patch) | |
tree | 50c5066b2c59d2009dbd71e9abcb852de3eec9ad /calendar/gui/dialogs/alarm-page.c | |
parent | 51cf52e71b6425a742adfef0c01e81299426c50d (diff) | |
download | gsoc2013-evolution-8e8fcea05d20217a19285cb7599d1d0b96de4b3b.tar gsoc2013-evolution-8e8fcea05d20217a19285cb7599d1d0b96de4b3b.tar.gz gsoc2013-evolution-8e8fcea05d20217a19285cb7599d1d0b96de4b3b.tar.bz2 gsoc2013-evolution-8e8fcea05d20217a19285cb7599d1d0b96de4b3b.tar.lz gsoc2013-evolution-8e8fcea05d20217a19285cb7599d1d0b96de4b3b.tar.xz gsoc2013-evolution-8e8fcea05d20217a19285cb7599d1d0b96de4b3b.tar.zst gsoc2013-evolution-8e8fcea05d20217a19285cb7599d1d0b96de4b3b.zip |
Fixes #53137
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
Fixes #53137
* gui/dialogs/comp-editor-page.[ch]: made fill_widgets virtual
method return a gboolean.
(comp_editor_page_fill_widgets): return value from virtual method
implementation.
* gui/dialogs/event-page.c (event_page_fill_widgets):
* gui/dialogs/meeting-page.c (meeting_page_fill_widgets):
* gui/dialogs/recurrence-page.c (recurrence_page_fill_widgets):
* gui/dialogs/schedule-page.c (schedule_page_fill_widgets):
* gui/dialogs/task-details-page.c (task_details_page_fill_widgets):
* gui/dialogs/task-page.c (task_page_fill_widgets):
* gui/dialogs/alarm-page.c (alarm_page_fill_widgets): return value,
as expected from the virtual method signature.
* gui/dialogs/comp-editor.c (comp_editor_append_page): dont add the
page if there was an error calling the fill_widgets method.
svn path=/trunk/; revision=24960
Diffstat (limited to 'calendar/gui/dialogs/alarm-page.c')
-rw-r--r-- | calendar/gui/dialogs/alarm-page.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/alarm-page.c b/calendar/gui/dialogs/alarm-page.c index 603cd5c8b6..c3fec99683 100644 --- a/calendar/gui/dialogs/alarm-page.c +++ b/calendar/gui/dialogs/alarm-page.c @@ -141,7 +141,7 @@ static void alarm_page_finalize (GObject *object); static GtkWidget *alarm_page_get_widget (CompEditorPage *page); static void alarm_page_focus_main_widget (CompEditorPage *page); -static void alarm_page_fill_widgets (CompEditorPage *page, ECalComponent *comp); +static gboolean alarm_page_fill_widgets (CompEditorPage *page, ECalComponent *comp); static gboolean alarm_page_fill_component (CompEditorPage *page, ECalComponent *comp); static void alarm_page_set_summary (CompEditorPage *page, const char *summary); static void alarm_page_set_dates (CompEditorPage *page, CompEditorPageDates *dates); @@ -358,7 +358,7 @@ append_reminder (AlarmPage *apage, ECalComponentAlarm *alarm) } /* fill_widgets handler for the alarm page */ -static void +static gboolean alarm_page_fill_widgets (CompEditorPage *page, ECalComponent *comp) { AlarmPage *apage; @@ -422,6 +422,8 @@ alarm_page_fill_widgets (CompEditorPage *page, ECalComponent *comp) sensitize_buttons (apage); priv->updating = FALSE; + + return TRUE; } /* fill_component handler for the alarm page */ |