summaryrefslogtreecommitdiffstats
path: root/glib/dbus-binding-tool-glib.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/dbus-binding-tool-glib.c')
-rw-r--r--glib/dbus-binding-tool-glib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/dbus-binding-tool-glib.c b/glib/dbus-binding-tool-glib.c
index 4ead51a3..94823cb1 100644
--- a/glib/dbus-binding-tool-glib.c
+++ b/glib/dbus-binding-tool-glib.c
@@ -527,8 +527,8 @@ dbus_binding_tool_output_glib_server (BaseInfo *info, GIOChannel *channel, GErro
WRITE_OR_LOSE ("#include <dbus/dbus-glib.h>\n");
- g_io_channel_ref (data.channel);
data.channel = channel;
+ g_io_channel_ref (data.channel);
if (!generate_glue (info, &data, error))
goto io_lose;