[gtk+] Fixed debug build for GTK_PLUG (plug)->socket_window direct accesses.



commit 67194ed77b153eb5a7eb6c596f3c20e274b7787a
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Sat Aug 28 16:19:16 2010 +0900

    Fixed debug build for GTK_PLUG (plug)->socket_window direct accesses.

 gtk/gtktrayicon-x11.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktrayicon-x11.c b/gtk/gtktrayicon-x11.c
index 83ff839..5575277 100644
--- a/gtk/gtktrayicon-x11.c
+++ b/gtk/gtktrayicon-x11.c
@@ -879,8 +879,8 @@ gtk_tray_icon_realize (GtkWidget *widget)
 	    g_print ("GtkStatusIcon %p: realized, window: %lx, socket window: %lx\n",
 		     widget,
 		     (gulong) GDK_WINDOW_XWINDOW (window),
-		     GTK_PLUG (icon)->socket_window ?
-			     (gulong) GDK_WINDOW_XWINDOW (GTK_PLUG (icon)->socket_window) : 0UL));
+		     gtk_plug_get_socket_window (GTK_PLUG (icon)) ?
+		     (gulong) GDK_WINDOW_XWINDOW (gtk_plug_get_socket_window (GTK_PLUG (icon))) : 0UL));
 
   if (icon->priv->manager_window != None)
     gtk_tray_icon_send_dock_request (icon);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]