aboutsummaryrefslogtreecommitdiffstats
path: root/filter/vfolder-editor.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-01-03 01:06:18 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-01-03 01:06:18 +0800
commit901d85f456d0dca9353ad2cea5b366f08e202fcf (patch)
treef7877491dca77b4f75bcb7c64fabd1308e88b59a /filter/vfolder-editor.c
parent070543d8c2e39b9680af03eeea0c7248dfb8dc83 (diff)
downloadgsoc2013-evolution-901d85f456d0dca9353ad2cea5b366f08e202fcf.tar
gsoc2013-evolution-901d85f456d0dca9353ad2cea5b366f08e202fcf.tar.gz
gsoc2013-evolution-901d85f456d0dca9353ad2cea5b366f08e202fcf.tar.bz2
gsoc2013-evolution-901d85f456d0dca9353ad2cea5b366f08e202fcf.tar.lz
gsoc2013-evolution-901d85f456d0dca9353ad2cea5b366f08e202fcf.tar.xz
gsoc2013-evolution-901d85f456d0dca9353ad2cea5b366f08e202fcf.tar.zst
gsoc2013-evolution-901d85f456d0dca9353ad2cea5b366f08e202fcf.zip
Fixed to build with -DG_DISABLE_DEPRECATED and -DGTK_DISABLE_DEPRECATED
2003-01-02 Jeffrey Stedfast <fejj@ximian.com> Fixed to build with -DG_DISABLE_DEPRECATED and -DGTK_DISABLE_DEPRECATED svn path=/trunk/; revision=19202
Diffstat (limited to 'filter/vfolder-editor.c')
-rw-r--r--filter/vfolder-editor.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/filter/vfolder-editor.c b/filter/vfolder-editor.c
index ea84300668..31c6f103f0 100644
--- a/filter/vfolder-editor.c
+++ b/filter/vfolder-editor.c
@@ -33,7 +33,7 @@
#define d(x)
-static FilterRule * create_rule(RuleEditor *re);
+static FilterRule *create_rule (RuleEditor *re);
static void vfolder_editor_class_init (VfolderEditorClass *klass);
static void vfolder_editor_init (VfolderEditor *ve);
@@ -49,18 +49,19 @@ vfolder_editor_get_type (void)
static GtkType type = 0;
if (!type) {
- static const GtkTypeInfo info = {
- "VfolderEditor",
- sizeof (VfolderEditor),
+ static const GTypeInfo info = {
sizeof (VfolderEditorClass),
- (GtkClassInitFunc) vfolder_editor_class_init,
- (GtkObjectInitFunc) vfolder_editor_init,
- /* reserved_1 */ NULL,
- /* reserved_2 */ NULL,
- (GtkClassInitFunc) NULL,
+ NULL, /* base_class_init */
+ NULL, /* base_class_finalize */
+ (GClassInitFunc) vfolder_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (VfolderEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) vfolder_editor_init,
};
- type = gtk_type_unique (RULE_TYPE_EDITOR, &info);
+ type = g_type_register_static (RULE_TYPE_EDITOR, "VfolderEditor", &info, 0);
}
return type;
@@ -73,7 +74,7 @@ vfolder_editor_class_init (VfolderEditorClass *klass)
GtkObjectClass *object_class = (GtkObjectClass *) klass;
RuleEditorClass *re_class = (RuleEditorClass *) klass;
- parent_class = g_type_class_ref(rule_editor_get_type ());
+ parent_class = g_type_class_ref (rule_editor_get_type ());
gobject_class->finalize = vfolder_editor_finalise;