Revision: 6749
Author: nogu.dev
Date: Sat Sep 11 01:14:41 2010
Log: * helper/toolbar-common-gtk.c
- (calc_menu_position): Don't use deprecated macro GTK_WIDGET_NO_WINDOW.
http://code.google.com/p/uim/source/detail?r=6749
Modified:
/trunk/helper/toolbar-common-gtk.c
=======================================
--- /trunk/helper/toolbar-common-gtk.c Sat Sep 11 01:14:31 2010
+++ /trunk/helper/toolbar-common-gtk.c Sat Sep 11 01:14:41 2010
@@ -199,7 +199,7 @@
gdk_window_get_origin(button->window, x, y);
gdk_drawable_get_size(button->window, NULL, &button_height);
- if (GTK_WIDGET_NO_WINDOW(button))
+ if (!gtk_widget_get_has_window(button))
*x += button->allocation.x;
sc_height = gdk_screen_get_height(gdk_screen_get_default());