Revision: 6754
Author: nogu.dev
Date: Sat Sep 11 01:15:28 2010
Log: * helper/eggtrayicon.c
  - (egg_tray_icon_update_manager_window): Use gtk_widget_get_realized()
    instead of deprecated GTK_WIDGET_REALIZED.
http://code.google.com/p/uim/source/detail?r=6754

Modified:
 /trunk/helper/eggtrayicon.c

=======================================
--- /trunk/helper/eggtrayicon.c Wed Aug  4 01:38:17 2010
+++ /trunk/helper/eggtrayicon.c Sat Sep 11 01:15:28 2010
@@ -501,7 +501,7 @@
       egg_tray_icon_get_orientation_property (icon);
       egg_tray_icon_get_visual_property (icon);

-      if (GTK_WIDGET_REALIZED (icon))
+      if (gtk_widget_get_realized (GTK_WIDGET (icon)))
         {
           if ((icon->manager_visual == NULL &&
gtk_widget_get_visual (widget) == gdk_screen_get_system_visual (screen)) ||

Reply via email to