aboutsummaryrefslogtreecommitdiffstats
path: root/filter/rule-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/rule-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/rule-editor.c')
-rw-r--r--filter/rule-editor.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/filter/rule-editor.c b/filter/rule-editor.c
index 13b77b72ec..cfb1b917f6 100644
--- a/filter/rule-editor.c
+++ b/filter/rule-editor.c
@@ -72,21 +72,22 @@ rule_editor_get_type (void)
static GtkType type = 0;
if (!type) {
- static const GtkTypeInfo info = {
- "RuleEditor",
- sizeof (RuleEditor),
+ static const GTypeInfo info = {
sizeof (RuleEditorClass),
- (GtkClassInitFunc) rule_editor_class_init,
- (GtkObjectInitFunc) rule_editor_init,
- /* reserved_1 */ NULL,
- /* reserved_2 */ NULL,
- (GtkClassInitFunc) NULL,
+ NULL, /* base_class_init */
+ NULL, /* base_class_finalize */
+ (GClassInitFunc) rule_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (RuleEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) rule_editor_init,
};
/* TODO: Remove when it works (or never will) */
enable_undo = getenv ("EVOLUTION_RULE_UNDO") != NULL;
- type = gtk_type_unique (gtk_dialog_get_type (), &info);
+ type = g_type_register_static (gtk_dialog_get_type (), "RuleEditor", &info, 0);
}
return type;