aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/eventedit.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-04-08 10:35:05 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-08 10:35:05 +0800
commit70143f6e1fae1dd7d2c368215facacdd990603e0 (patch)
treeecd577053b3125fd24c03a1c50134505b320d0eb /calendar/gui/eventedit.h
parentb5a61327da495147f0a45b4a9f6ee3a77687eeab (diff)
downloadgsoc2013-evolution-70143f6e1fae1dd7d2c368215facacdd990603e0.tar
gsoc2013-evolution-70143f6e1fae1dd7d2c368215facacdd990603e0.tar.gz
gsoc2013-evolution-70143f6e1fae1dd7d2c368215facacdd990603e0.tar.bz2
gsoc2013-evolution-70143f6e1fae1dd7d2c368215facacdd990603e0.tar.lz
gsoc2013-evolution-70143f6e1fae1dd7d2c368215facacdd990603e0.tar.xz
gsoc2013-evolution-70143f6e1fae1dd7d2c368215facacdd990603e0.tar.zst
gsoc2013-evolution-70143f6e1fae1dd7d2c368215facacdd990603e0.zip
Removed unused global variable parent_class.
1998-04-07 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c: Removed unused global variable parent_class. * eventedit.h: Renamed gtk_window field to window. Made the parent_class field in the EventEditorClass structure be a GtkWindowClass, not a gnome property box class. Added prototype for event_editor_get_type(). svn path=/trunk/; revision=110
Diffstat (limited to 'calendar/gui/eventedit.h')
-rw-r--r--calendar/gui/eventedit.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/calendar/gui/eventedit.h b/calendar/gui/eventedit.h
index 2396d302f6..45e966d034 100644
--- a/calendar/gui/eventedit.h
+++ b/calendar/gui/eventedit.h
@@ -12,12 +12,14 @@
BEGIN_GNOME_DECLS
+
#define EVENT_EDITOR(obj) GTK_CHECK_CAST(obj, event_editor_get_type(), EventEditor)
#define EVENT_EDITOR_CLASS(class) GTK_CHECK_CAST_CLASS(class, event_editor_get_type(), EventEditorClass)
#define IS_EVENT_EDITOR(obj) GTK_CHECK_TYPE(obj, event_editor_get_type())
+
typedef struct {
- GtkWindow gtk_window;
+ GtkWindow window;
GtkWidget *notebook;
GtkWidget *hbox;
GtkWidget *vbox;
@@ -41,10 +43,14 @@ typedef struct {
} EventEditor;
typedef struct {
- GnomePropertyBoxClass parent_class;
+ GtkWindowClass parent_class;
} EventEditorClass;
-GtkWidget *event_editor_new (GnomeCalendar *owner, iCalObject *);
+
+guint event_editor_get_type (void);
+GtkWidget *event_editor_new (GnomeCalendar *owner, iCalObject *);
+
END_GNOME_DECLS
+
#endif