aboutsummaryrefslogtreecommitdiff
path: root/libtopmenu-client/topmenu-monitor.c
diff options
context:
space:
mode:
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;