aboutsummaryrefslogtreecommitdiff
path: root/libtopmenu-client/topmenu-monitor.c
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2014-05-17 19:53:53 +0200
committerJavier <dev.git@javispedro.com>2014-05-17 19:53:53 +0200
commit14d288511323d4f384d4764ab25a42693ff19f4a (patch)
treed69907ed23d9df328459b598c0c8f914782013cd /libtopmenu-client/topmenu-monitor.c
parentfae72947043ae3b1627dac77b3c42bf2e1dbbd09 (diff)
downloadtopmenu-gtk-14d288511323d4f384d4764ab25a42693ff19f4a.tar.gz
topmenu-gtk-14d288511323d4f384d4764ab25a42693ff19f4a.zip
gtk3 client library + module now hackishly working
Diffstat (limited to 'libtopmenu-client/topmenu-monitor.c')
-rw-r--r--libtopmenu-client/topmenu-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtopmenu-client/topmenu-monitor.c b/libtopmenu-client/topmenu-monitor.c
index 2f63e9b..94302ef 100644
--- a/libtopmenu-client/topmenu-monitor.c
+++ b/libtopmenu-client/topmenu-monitor.c
@@ -110,7 +110,7 @@ static void topmenu_monitor_dispose(GObject *obj)
if (self->priv->cur_server) {
gdk_window_remove_filter(self->priv->cur_server,
handle_cur_server_event, self);
- gdk_window_unref(self->priv->cur_server);
+ g_object_unref(self->priv->cur_server);
self->priv->cur_server = 0;
}
self->priv->selection = NULL;