summaryrefslogtreecommitdiffstats
path: root/glib/dbus-gparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/dbus-gparser.c')
-rw-r--r--glib/dbus-gparser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/glib/dbus-gparser.c b/glib/dbus-gparser.c
index 16d17f3d..c9b1b358 100644
--- a/glib/dbus-gparser.c
+++ b/glib/dbus-gparser.c
@@ -184,10 +184,12 @@ parser_new (void)
return parser;
}
-void
+Parser *
parser_ref (Parser *parser)
{
parser->refcount += 1;
+
+ return parser;
}
void