From ff1f6c3f1a46f7dccf36b8e1b61ec13389b25a11 Mon Sep 17 00:00:00 2001 From: 1 Date: Fri, 21 Dec 2001 14:49:31 +0000 Subject: inherit from bonobo window 2001-12-21 * gui/dialogs/comp-editor.h: inherit from bonobo window * gui/dialogs/comp-editor.c: inherit from bonobo window (comp_editor_key_press_event): Look for an escape key press and close the window if found svn path=/trunk/; revision=15202 --- calendar/gui/dialogs/comp-editor.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'calendar/gui/dialogs/comp-editor.h') diff --git a/calendar/gui/dialogs/comp-editor.h b/calendar/gui/dialogs/comp-editor.h index 1d5f92e064..f789515ab1 100644 --- a/calendar/gui/dialogs/comp-editor.h +++ b/calendar/gui/dialogs/comp-editor.h @@ -22,6 +22,7 @@ #define COMP_EDITOR_H #include +#include #include #include #include "cal-client.h" @@ -41,14 +42,14 @@ BEGIN_GNOME_DECLS typedef struct _CompEditorPrivate CompEditorPrivate; typedef struct { - GtkObject object; + BonoboWindow object; /* Private data */ CompEditorPrivate *priv; } CompEditor; typedef struct { - GtkObjectClass parent_class; + BonoboWindowClass parent_class; /* Virtual functions */ void (* set_cal_client) (CompEditor *page, CalClient *client); -- cgit v1.2.3