From 5d80262bb53f00a69aacc16720034d403f6c6b5f Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sun, 26 Apr 1998 03:22:37 +0000 Subject: Descend from GnomeDialog. Took vbox out of class structure; use Sat Apr 25 22:20:45 1998 Havoc Pennington * eventedit.c, eventedit.h: Descend from GnomeDialog. Took vbox out of class structure; use GnomeDialog vbox instead. gnome_dialog_set_destroy instead of destroying in button callbacks. Don't create buttons, separator, or vbox manually. #include . svn path=/trunk/; revision=197 --- calendar/eventedit.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/eventedit.h') diff --git a/calendar/eventedit.h b/calendar/eventedit.h index 73dd677d44..9cb80e3912 100644 --- a/calendar/eventedit.h +++ b/calendar/eventedit.h @@ -9,6 +9,7 @@ #define EVENT_EDITOR_H #include "gnome-cal.h" +#include BEGIN_GNOME_DECLS @@ -19,9 +20,8 @@ BEGIN_GNOME_DECLS typedef struct { - GtkWindow window; + GnomeDialog dialog; GtkWidget *notebook; - GtkWidget *vbox; GtkWidget *general; GtkWidget *general_table; @@ -64,7 +64,7 @@ typedef struct { } EventEditor; typedef struct { - GtkWindowClass parent_class; + GnomeDialogClass parent_class; } EventEditorClass; -- cgit v1.2.3