diff options
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r-- | gtk/gtkcombobox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index 6d20b630e3..2cb2daff04 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -1489,7 +1489,7 @@ gtk_combo_box_menu_position_below (GtkMenu *menu, sx = sy = 0; - if (GTK_WIDGET_NO_WINDOW (child)) + if (!gtk_widget_get_has_window (child)) { sx += child->allocation.x; sy += child->allocation.y; @@ -1652,7 +1652,7 @@ gtk_combo_box_list_position (GtkComboBox *combo_box, *x = *y = 0; - if (GTK_WIDGET_NO_WINDOW (sample)) + if (!gtk_widget_get_has_window (sample)) { *x += sample->allocation.x; *y += sample->allocation.y; |