aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-int.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-07-25 16:49:56 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-07-25 16:49:56 +0800
commit00a8f5e2ec693222e02e96c700c235a81eeb4ce5 (patch)
treed15ccbf5f6e04bfe4e85fff036cd69a52e2e3038 /filter/filter-int.c
parent6ea2a4da8b06dd138bc815b242d6670d7c003223 (diff)
downloadgsoc2013-evolution-00a8f5e2ec693222e02e96c700c235a81eeb4ce5.tar
gsoc2013-evolution-00a8f5e2ec693222e02e96c700c235a81eeb4ce5.tar.gz
gsoc2013-evolution-00a8f5e2ec693222e02e96c700c235a81eeb4ce5.tar.bz2
gsoc2013-evolution-00a8f5e2ec693222e02e96c700c235a81eeb4ce5.tar.lz
gsoc2013-evolution-00a8f5e2ec693222e02e96c700c235a81eeb4ce5.tar.xz
gsoc2013-evolution-00a8f5e2ec693222e02e96c700c235a81eeb4ce5.tar.zst
gsoc2013-evolution-00a8f5e2ec693222e02e96c700c235a81eeb4ce5.zip
Use GtkType (I only changed this one because I turned on debugging for a
2002-07-25 Jeffrey Stedfast <fejj@ximian.com> * filter-int.[c,h]: Use GtkType (I only changed this one because I turned on debugging for a bit). * filter-file.c (validate): Fix the strcmp logic a bit, I had it the exact opposite of what I really wanted. Oops :-) svn path=/trunk/; revision=17586
Diffstat (limited to 'filter/filter-int.c')
-rw-r--r--filter/filter-int.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/filter/filter-int.c b/filter/filter-int.c
index a92b0b1b2b..d7225a9bda 100644
--- a/filter/filter-int.c
+++ b/filter/filter-int.c
@@ -57,10 +57,10 @@ enum {
static guint signals[LAST_SIGNAL] = { 0 };
-guint
+GtkType
filter_int_get_type (void)
{
- static guint type = 0;
+ static GtkType type = 0;
if (!type) {
GtkTypeInfo type_info = {
@@ -203,16 +203,20 @@ xml_decode (FilterElement *fe, xmlNodePtr node)
fe->name = name;
type = xmlGetProp(node, "type");
+ d(printf ("Type = %s\n", type));
g_free(fs->type);
fs->type = g_strdup(type);
xmlFree(type);
intval = xmlGetProp (node, type?type:"integer");
if (intval) {
+ d(printf ("Value = %s\n", intval));
fs->val = atoi (intval);
xmlFree (intval);
- } else
+ } else {
+ d(printf ("Value = ?unknown?\n"));
fs->val = 0;
+ }
return 0;
}