summaryrefslogtreecommitdiff
path: root/gtk/gtktrayicon-x11.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-11-22 17:06:46 +0100
committerBenjamin Otte <otte@redhat.com>2010-12-02 20:20:56 +0100
commite724054d19d617107cfc4d9be116b376bfee249d (patch)
treeb50c60ed0ac5952ebf8d6e45255e1f396d5a419d /gtk/gtktrayicon-x11.c
parent18a6976e5a1e899b62280fbbeb6df9c2c9191bcc (diff)
downloadgtk+-e724054d19d617107cfc4d9be116b376bfee249d.tar.gz
API: Remove GDK_WINDOW_XWINDOW() macro
Use GDK_WINDOW_XID() instead. THis was done using sed, so there might be issues resulting to that. Feel free to fix.
Diffstat (limited to 'gtk/gtktrayicon-x11.c')
-rw-r--r--gtk/gtktrayicon-x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktrayicon-x11.c b/gtk/gtktrayicon-x11.c
index 0d9b3afd17..150b634823 100644
--- a/gtk/gtktrayicon-x11.c
+++ b/gtk/gtktrayicon-x11.c
@@ -879,9 +879,9 @@ gtk_tray_icon_realize (GtkWidget *widget)
GTK_NOTE (PLUGSOCKET,
g_print ("GtkStatusIcon %p: realized, window: %lx, socket window: %lx\n",
widget,
- (gulong) GDK_WINDOW_XWINDOW (window),
+ (gulong) GDK_WINDOW_XID (window),
gtk_plug_get_socket_window (GTK_PLUG (icon)) ?
- (gulong) GDK_WINDOW_XWINDOW (gtk_plug_get_socket_window (GTK_PLUG (icon))) : 0UL));
+ (gulong) GDK_WINDOW_XID (gtk_plug_get_socket_window (GTK_PLUG (icon))) : 0UL));
if (icon->priv->manager_window != None)
gtk_tray_icon_send_dock_request (icon);