summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gs-window-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index 8ba2d37..479c826 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -808,7 +808,7 @@ out:
g_free (std_output);
g_free (command);
- return visual;
+ return g_object_ref (visual);
}
#if GTK_CHECK_VERSION (3, 0, 0)