aboutsummaryrefslogtreecommitdiffstats
path: root/filter/score-context.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-11-06 04:47:24 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-11-06 04:47:24 +0800
commit96669b4af8ecc871dbfd405271293f29f38a05f3 (patch)
treebfe7084583e6d965a5ebd65c8199e24ad7ba1390 /filter/score-context.h
parent12db8c46874e98b39ad026972527e422e4c228eb (diff)
downloadgsoc2013-evolution-96669b4af8ecc871dbfd405271293f29f38a05f3.tar
gsoc2013-evolution-96669b4af8ecc871dbfd405271293f29f38a05f3.tar.gz
gsoc2013-evolution-96669b4af8ecc871dbfd405271293f29f38a05f3.tar.bz2
gsoc2013-evolution-96669b4af8ecc871dbfd405271293f29f38a05f3.tar.lz
gsoc2013-evolution-96669b4af8ecc871dbfd405271293f29f38a05f3.tar.xz
gsoc2013-evolution-96669b4af8ecc871dbfd405271293f29f38a05f3.tar.zst
gsoc2013-evolution-96669b4af8ecc871dbfd405271293f29f38a05f3.zip
Ported.
2002-11-05 Jeffrey Stedfast <fejj@ximian.com> * score-rule.c: Ported. * score-editor.c: Ported. Again, thise code seems to be unused. * score-context.c: Ported. Although it seems this code isn't really used anywhere? svn path=/trunk/; revision=18562
Diffstat (limited to 'filter/score-context.h')
-rw-r--r--filter/score-context.h31
1 files changed, 19 insertions, 12 deletions
diff --git a/filter/score-context.h b/filter/score-context.h
index 3d636797f3..7a76ac8d32 100644
--- a/filter/score-context.h
+++ b/filter/score-context.h
@@ -1,7 +1,9 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
- * Copyright (C) 2000 Ximian Inc.
+ * Copyright (C) 2000-2002 Ximian Inc.
*
* Authors: Not Zed <notzed@lostzed.mmc.com.au>
+ * Jeffrey Stedfast <fejj@ximian.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
@@ -23,29 +25,34 @@
#include "rule-context.h"
-#define SCORE_CONTEXT(obj) GTK_CHECK_CAST (obj, score_context_get_type (), ScoreContext)
-#define SCORE_CONTEXT_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, score_context_get_type (), ScoreContextClass)
-#define IS_SCORE_CONTEXT(obj) GTK_CHECK_TYPE (obj, score_context_get_type ())
+#define SCORE_TYPE_CONTEXT (score_context_get_type ())
+#define SCORE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCORE_TYPE_CONTEXT, ScoreContext))
+#define SCORE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCORE_TYPE_CONTEXT, ScoreContextClass))
+#define IS_SCORE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCORE_TYPE_CONTEXT))
+#define IS_SCORE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCORE_TYPE_CONTEXT))
+#define SCORE_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCORE_TYPE_CONTEXT, ScoreContextClass))
-typedef struct _ScoreContext ScoreContext;
-typedef struct _ScoreContextClass ScoreContextClass;
+typedef struct _ScoreContext ScoreContext;
+typedef struct _ScoreContextClass ScoreContextClass;
struct _ScoreContext {
- RuleContext parent;
+ RuleContext parent_object;
+
};
struct _ScoreContextClass {
RuleContextClass parent_class;
-
+
/* virtual methods */
-
+
/* signals */
};
-guint score_context_get_type (void);
-ScoreContext *score_context_new (void);
+
+GType score_context_get_type (void);
+
+ScoreContext *score_context_new (void);
/* methods */
#endif /* ! _SCORE_CONTEXT_H */
-