aboutsummaryrefslogtreecommitdiff
path: root/libtopmenu-server/topmenu-server.c
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2014-02-09 00:50:39 +0100
committerJavier <dev.git@javispedro.com>2014-02-09 00:50:39 +0100
commitcecc7efece527e09afdfb59dc24cbf6086bd2654 (patch)
treeb60dd1ce58e2256140b1a871709ebfa77ff3c5ad /libtopmenu-server/topmenu-server.c
parentdfade684171c59f24ce3332703178fc0d73631fa (diff)
downloadtopmenu-gtk-cecc7efece527e09afdfb59dc24cbf6086bd2654.tar.gz
topmenu-gtk-cecc7efece527e09afdfb59dc24cbf6086bd2654.zip
improve client memory management warnings
Diffstat (limited to 'libtopmenu-server/topmenu-server.c')
-rw-r--r--libtopmenu-server/topmenu-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtopmenu-server/topmenu-server.c b/libtopmenu-server/topmenu-server.c
index a907d47..f9d7918 100644
--- a/libtopmenu-server/topmenu-server.c
+++ b/libtopmenu-server/topmenu-server.c
@@ -66,8 +66,8 @@ void topmenu_server_register_server_widget(GtkWidget *widget)
stub_attr.override_redirect = TRUE;
GdkWindow *stub = gdk_window_new(window, &stub_attr, GDK_WA_NOREDIR);
- g_object_set_data_full(G_OBJECT(widget), OBJECT_DATA_KEY_SERVER_STUB,
- stub, (GDestroyNotify)gdk_window_destroy);
+ g_object_set_data_full(G_OBJECT(widget), OBJECT_DATA_KEY_SERVER_STUB, stub,
+ (GDestroyNotify) &gdk_window_destroy);
server_widgets = g_list_prepend(server_widgets, widget);
update_selection_owner(GDK_CURRENT_TIME);