diff options
author | Stefano Karapetsas <[email protected]> | 2013-11-12 23:56:21 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-11-12 23:56:21 +0100 |
commit | 483b70e814cf2c012a9186da78d15cdbcd3aec1e (patch) | |
tree | b073aaf1a77fc60f86b3f5d7ee2cb1309ce75dec | |
parent | 0e33476937b0a5c9fd3892dfa9d9d3e4b215c02d (diff) | |
download | mate-screensaver-483b70e814cf2c012a9186da78d15cdbcd3aec1e.tar.bz2 mate-screensaver-483b70e814cf2c012a9186da78d15cdbcd3aec1e.tar.xz |
Fix segfault with GTK3
-rw-r--r-- | src/gs-window-x11.c | 2 |
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) |