[gtk+] Use accessor functions to access GtkPlug



commit af8efa0b46338ff6ce5aa9a64460505aa2385d75
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Aug 23 23:11:34 2010 +0200

    Use accessor functions to access GtkPlug

 gtk/gtkstatusicon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c
index a72bb19..0ab4564 100644
--- a/gtk/gtkstatusicon.c
+++ b/gtk/gtkstatusicon.c
@@ -2489,7 +2489,7 @@ gtk_status_icon_is_embedded (GtkStatusIcon *status_icon)
 #ifdef GDK_WINDOWING_X11
   plug = GTK_PLUG (status_icon->priv->tray_icon);
 
-  if (plug->socket_window)
+  if (gtk_plug_get_embedded (plug))
     return TRUE;
   else
     return FALSE;



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