aboutsummaryrefslogtreecommitdiffstats
path: root/filter/score-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/score-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/score-editor.c')
-rw-r--r--filter/score-editor.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/filter/score-editor.c b/filter/score-editor.c
index f43c5a2c42..064272f321 100644
--- a/filter/score-editor.c
+++ b/filter/score-editor.c
@@ -49,18 +49,19 @@ score_editor_get_type (void)
static GtkType type = 0;
if (!type) {
- static const GtkTypeInfo info = {
- "ScoreEditor",
- sizeof (ScoreEditor),
+ static const GTypeInfo info = {
sizeof (ScoreEditorClass),
- (GtkClassInitFunc) score_editor_class_init,
- (GtkObjectInitFunc) score_editor_init,
- /* reserved_1 */ NULL,
- /* reserved_2 */ NULL,
- (GtkClassInitFunc) NULL,
+ NULL, /* base_class_init */
+ NULL, /* base_class_finalize */
+ (GClassInitFunc) score_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (ScoreEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) score_editor_init,
};
- type = gtk_type_unique (RULE_TYPE_EDITOR, &info);
+ type = g_type_register_static (RULE_TYPE_EDITOR, "ScoreEditor", &info, 0);
}
return type;