diff options
author | JP Rosevear <jpr@novell.com> | 2004-10-14 22:22:12 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-10-14 22:22:12 +0800 |
commit | 4d0c841a0368793bee8b0d5a17ead69b3093b30b (patch) | |
tree | 1cb5ef945b063f5b5537b1e7105d3718fcd7a6b2 /calendar/gui/dialogs/select-source-dialog.c | |
parent | 9e6e6c7141a2cb29148ab9dc4f98ebcc40c2f02c (diff) | |
download | gsoc2013-evolution-4d0c841a0368793bee8b0d5a17ead69b3093b30b.tar.gz gsoc2013-evolution-4d0c841a0368793bee8b0d5a17ead69b3093b30b.tar.zst gsoc2013-evolution-4d0c841a0368793bee8b0d5a17ead69b3093b30b.zip |
conver to G_DEFINE_TYPE
2004-10-14 JP Rosevear <jpr@novell.com>
* gui/dialogs/comp-editor.c: conver to G_DEFINE_TYPE
* gui/dialogs/meeting-page.c: ditto
* gui/dialogs/recurrence-page.c: ditto
* gui/dialogs/schedule-page.c: ditto
* gui/dialogs/e-delegate-dialog.c: ditto
* gui/dialogs/event-editor.c: ditto
* gui/dialogs/task-editor.c: ditto
* gui/dialogs/task-details-page.c: ditto
* gui/dialogs/select-source-dialog.c
(primary_selection_changed_cb): fix warning
svn path=/trunk/; revision=27576
Diffstat (limited to 'calendar/gui/dialogs/select-source-dialog.c')
-rw-r--r-- | calendar/gui/dialogs/select-source-dialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/select-source-dialog.c b/calendar/gui/dialogs/select-source-dialog.c index 68747ff4e0..66a671b1d3 100644 --- a/calendar/gui/dialogs/select-source-dialog.c +++ b/calendar/gui/dialogs/select-source-dialog.c @@ -52,10 +52,10 @@ primary_selection_changed_cb (ESourceSelector *selector, gpointer user_data) if (*our_selection) { g_object_ref (*our_selection); gtk_dialog_set_response_sensitive ( - GTK_DIALOG (gtk_widget_get_toplevel (selector)), GTK_RESPONSE_OK, TRUE); + GTK_DIALOG (gtk_widget_get_toplevel (GTK_WIDGET (selector))), GTK_RESPONSE_OK, TRUE); } else { gtk_dialog_set_response_sensitive ( - GTK_DIALOG (gtk_widget_get_toplevel (selector)), GTK_RESPONSE_OK, FALSE); + GTK_DIALOG (gtk_widget_get_toplevel (GTK_WIDGET (selector))), GTK_RESPONSE_OK, FALSE); } } |