aboutsummaryrefslogtreecommitdiffstats
path: root/filter/vfolder-context.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-11-06 06:17:16 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-11-06 06:17:16 +0800
commit394f4bee4a7a2fe5f12cb96b636aca99abd11184 (patch)
treed193b7d83fa5bd3ebe0bd2bf5041ec8d6c0144eb /filter/vfolder-context.h
parentd4bb47b0bfd07ddd7e5b72e18f21fee4d7b3a19d (diff)
downloadgsoc2013-evolution-394f4bee4a7a2fe5f12cb96b636aca99abd11184.tar.gz
gsoc2013-evolution-394f4bee4a7a2fe5f12cb96b636aca99abd11184.tar.zst
gsoc2013-evolution-394f4bee4a7a2fe5f12cb96b636aca99abd11184.zip
Ported.
2002-11-05 Jeffrey Stedfast <fejj@ximian.com> * vfolder-rule.c: Ported. * vfolder-editor.c: Ported. * vfolder-context.c: Ported. svn path=/trunk/; revision=18569
Diffstat (limited to 'filter/vfolder-context.h')
-rw-r--r--filter/vfolder-context.h34
1 files changed, 20 insertions, 14 deletions
diff --git a/filter/vfolder-context.h b/filter/vfolder-context.h
index bf28ac88f7..bed020127d 100644
--- a/filter/vfolder-context.h
+++ b/filter/vfolder-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
@@ -18,36 +20,40 @@
* Boston, MA 02111-1307, USA.
*/
+
#ifndef _VFOLDER_CONTEXT_H
#define _VFOLDER_CONTEXT_H
#include "rule-context.h"
-#define VFOLDER_CONTEXT(obj) GTK_CHECK_CAST (obj, vfolder_context_get_type (), VfolderContext)
-#define VFOLDER_CONTEXT_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, vfolder_context_get_type (), VfolderContextClass)
-#define IS_VFOLDER_CONTEXT(obj) GTK_CHECK_TYPE (obj, vfolder_context_get_type ())
+#define VFOLDER_TYPE_CONTEXT (vfolder_context_get_type ())
+#define VFOLDER_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VFOLDER_TYPE_CONTEXT, VfolderContext))
+#define VFOLDER_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VFOLDER_TYPE_CONTEXT, VfolderContextClass))
+#define IS_VFOLDER_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VFOLDER_TYPE_CONTEXT))
+#define IS_VFOLDER_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VFOLDER_TYPE_CONTEXT))
+#define VFOLDER_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VFOLDER_TYPE_CONTEXT, VfolderContextClass))
-typedef struct _VfolderContext VfolderContext;
-typedef struct _VfolderContextClass VfolderContextClass;
+typedef struct _VfolderContext VfolderContext;
+typedef struct _VfolderContextClass VfolderContextClass;
struct _VfolderContext {
- RuleContext parent;
- struct _VfolderContextPrivate *priv;
-
+ RuleContext parent_object;
+
};
struct _VfolderContextClass {
RuleContextClass parent_class;
-
+
/* virtual methods */
-
+
/* signals */
};
-guint vfolder_context_get_type (void);
-VfolderContext *vfolder_context_new (void);
+
+GType vfolder_context_get_type (void);
+
+VfolderContext *vfolder_context_new (void);
/* methods */
#endif /* ! _VFOLDER_CONTEXT_H */
-