diff options
author | 1 <jpr@ximian.com> | 2001-12-21 22:49:31 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-12-21 22:49:31 +0800 |
commit | ff1f6c3f1a46f7dccf36b8e1b61ec13389b25a11 (patch) | |
tree | 2629c62ed9c13edf3c7f50cd5509b6e1286c4d0e /calendar/gui/dialogs/comp-editor.h | |
parent | dd77672ca6f23fcd566dccc3bac594d2b7521f56 (diff) | |
download | gsoc2013-evolution-ff1f6c3f1a46f7dccf36b8e1b61ec13389b25a11.tar.gz gsoc2013-evolution-ff1f6c3f1a46f7dccf36b8e1b61ec13389b25a11.tar.zst gsoc2013-evolution-ff1f6c3f1a46f7dccf36b8e1b61ec13389b25a11.zip |
inherit from bonobo window
2001-12-21 <jpr@ximian.com>
* 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
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.h')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 <gtk/gtk.h> +#include <bonobo/bonobo-win.h> #include <bonobo/bonobo-ui-engine.h> #include <bonobo/bonobo-ui-component.h> #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); |