From 948235c3d1076dbe6ed2e57a24c16a083bbd9f01 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 27 May 2009 10:29:19 -0400 Subject: Prefer GLib basic types over C types. --- filter/filter-element.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'filter/filter-element.h') 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); -- cgit