aboutsummaryrefslogtreecommitdiffstats
path: root/filter/score-editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'filter/score-editor.h')
-rw-r--r--filter/score-editor.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/filter/score-editor.h b/filter/score-editor.h
index cb78d465f0..686963c879 100644
--- a/filter/score-editor.h
+++ b/filter/score-editor.h
@@ -22,10 +22,7 @@
#define _SCORE_EDITOR_H
#include <gtk/gtk.h>
-#include <libgnomeui/gnome-dialog.h>
-
-#if 0
-/* NOTE: object stuff not used (yet?), this is just a holder file for a static factory */
+#include "rule-editor.h"
#define SCORE_EDITOR(obj) GTK_CHECK_CAST (obj, score_editor_get_type (), ScoreEditor)
#define SCORE_EDITOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, score_editor_get_type (), ScoreEditorClass)
@@ -35,25 +32,23 @@ typedef struct _ScoreEditor ScoreEditor;
typedef struct _ScoreEditorClass ScoreEditorClass;
struct _ScoreEditor {
- GnomeDialog parent;
+ RuleEditor parent;
+
+ struct _ScoreEditorPrivate *priv;
};
struct _ScoreEditorClass {
- GnomeDialogClass parent_class;
+ RuleEditorClass parent_class;
/* virtual methods */
/* signals */
};
-guint score_editor_get_type (void);
-ScoreEditor *score_editor_new (void);
-#endif
-
struct _ScoreContext;
-/* methods */
-GtkWidget *score_editor_construct (struct _ScoreContext *f);
+guint score_editor_get_type (void);
+ScoreEditor *score_editor_new (struct _ScoreContext *f);
#endif /* ! _SCORE_EDITOR_H */