From 93723877699c0a64fd25d8dcb11289359710bc6e Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 26 Nov 2002 11:25:51 +0000 Subject: FILTER_RULE_CLASS -> _GET_CLASS 2002-11-26 Not Zed * filter-rule.c (filter_rule_validate): FILTER_RULE_CLASS -> _GET_CLASS * rule-context.c (rule_context_save): RULE_CONTEXT_CLASS -> RULE_CONTEXT_GET_CLASS (rule_context_revert): " * *.[ch]: Ran fix.sh over all files. * rule-editor.c (rule_add): widget:set_parent -> window:set_transient_for (editor_response): renamed from editor_clicked, handle gtk dialog response codes. (rule_edit): connect to response rather than clicked. (rule_editor_construct): Setup a text column in the tree view. Not sure if this can be handled via glade. svn path=/trunk/; revision=18922 --- filter/score-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filter/score-editor.c') diff --git a/filter/score-editor.c b/filter/score-editor.c index 107a4434ce..f43c5a2c42 100644 --- a/filter/score-editor.c +++ b/filter/score-editor.c @@ -72,7 +72,7 @@ score_editor_class_init (ScoreEditorClass *klass) GObjectClass *gobject_class = G_OBJECT_CLASS (klass); RuleEditorClass *re_class = (RuleEditorClass *) klass; - parent_class = gtk_type_class (rule_editor_get_type ()); + parent_class = g_type_class_ref(rule_editor_get_type ()); gobject_class->finalize = score_editor_finalise; -- cgit v1.2.3