diff options
Diffstat (limited to 'calendar/gui/dialogs/comp-editor-page.c')
-rw-r--r-- | calendar/gui/dialogs/comp-editor-page.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/comp-editor-page.c b/calendar/gui/dialogs/comp-editor-page.c index 9f006a9979..7834ddccef 100644 --- a/calendar/gui/dialogs/comp-editor-page.c +++ b/calendar/gui/dialogs/comp-editor-page.c @@ -153,6 +153,7 @@ static void comp_editor_page_init (CompEditorPage *page) { page->client = NULL; + page->accel_group = NULL; } @@ -171,6 +172,11 @@ comp_editor_page_destroy (GtkObject *object) page->client = NULL; } + if (page->accel_group) { + gtk_accel_group_unref (page->accel_group); + page->accel_group = NULL; + } + if (GTK_OBJECT_CLASS (parent_class)->destroy) (* GTK_OBJECT_CLASS (parent_class)->destroy) (object); } |