]> Pileus Git - ~andy/gtk/commitdiff
Use accessor functions to access GtkPlug
authorJavier Jardón <jjardon@gnome.org>
Mon, 23 Aug 2010 21:11:34 +0000 (23:11 +0200)
committerJavier Jardón <jjardon@gnome.org>
Fri, 27 Aug 2010 21:12:12 +0000 (23:12 +0200)
gtk/gtkstatusicon.c

index a72bb192fa8f299c96b28e5cf01e6d16f3b0284d..0ab4564eea510aec2d6d690b51c5d4dd7df25782 100644 (file)
@@ -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;