aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-element.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
commit948235c3d1076dbe6ed2e57a24c16a083bbd9f01 (patch)
tree4133b1adfd94d8f889ca7ad4ad851346518f4171 /filter/filter-element.h
parentcc3a98fc1ad5bb87aa7335f3de404ee7feee1541 (diff)
downloadgsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.gz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.zst
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'filter/filter-element.h')
-rw-r--r--filter/filter-element.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/filter-element.h b/filter/filter-element.h
index 76894542a2..4c105a77c3 100644
--- a/filter/filter-element.h
+++ b/filter/filter-element.h
@@ -38,12 +38,12 @@
typedef struct _FilterElement FilterElement;
typedef struct _FilterElementClass FilterElementClass;
-typedef FilterElement *(*FilterElementFunc)(void *data);
+typedef FilterElement *(*FilterElementFunc)(gpointer data);
struct _FilterElement {
GObject parent_object;
- char *name;
+ gchar *name;
gpointer data;
};
@@ -54,11 +54,11 @@ struct _FilterElementClass {
/* virtual methods */
gboolean (*validate) (FilterElement *fe);
- int (*eq) (FilterElement *fe, FilterElement *cm);
+ gint (*eq) (FilterElement *fe, FilterElement *cm);
void (*xml_create) (FilterElement *, xmlNodePtr);
xmlNodePtr (*xml_encode) (FilterElement *);
- int (*xml_decode) (FilterElement *, xmlNodePtr);
+ gint (*xml_decode) (FilterElement *, xmlNodePtr);
FilterElement *(*clone) (FilterElement *fe);
void (*copy_value)(FilterElement *fe, FilterElement *se);