Revision: 6770
Author: nogu.dev
Date: Sat Sep 11 17:42:38 2010
Log: * helper/eggtrayicon.c
  - (egg_tray_icon_expose): Use gtk_container_get_focus_child() for GTK+3.
http://code.google.com/p/uim/source/detail?r=6770

Modified:
 /trunk/helper/eggtrayicon.c

=======================================
--- /trunk/helper/eggtrayicon.c Sat Sep 11 17:42:28 2010
+++ /trunk/helper/eggtrayicon.c Sat Sep 11 17:42:38 2010
@@ -273,7 +273,7 @@
   if (GTK_WIDGET_CLASS (parent_class)->expose_event)
     retval = GTK_WIDGET_CLASS (parent_class)->expose_event (widget, event);

-  focus_child = GTK_CONTAINER (widget)->focus_child;
+  focus_child = gtk_container_get_focus_child(GTK_CONTAINER (widget));
   if (focus_child && gtk_widget_has_focus (focus_child))
     {
       GtkAllocation allocation;

Reply via email to