From d8813d883280b17c242473f3e662ad7e2c250bf1 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Wed, 10 Oct 2007 06:18:56 +0200 Subject: [PATCH] Treat "percent" columns in hublist as ints. --- clients/gtk2/hublist-xml.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/gtk2/hublist-xml.c b/clients/gtk2/hublist-xml.c index d72291d..46a53ce 100644 --- a/clients/gtk2/hublist-xml.c +++ b/clients/gtk2/hublist-xml.c @@ -119,6 +119,8 @@ int pubhubxmlhandler(int op, char *buf, size_t len) type = G_TYPE_STRING; else if(!strcmp(stype, "int")) type = G_TYPE_INT; + else if(!strcmp(stype, "percent")) + type = G_TYPE_INT; else if(!strcmp(stype, "bytes")) type = G_TYPE_INT64; } -- 2.11.0