summaryrefslogtreecommitdiff
path: root/gtk/gtkmenubar.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkmenubar.c')
-rw-r--r--gtk/gtkmenubar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c
index 8d97c8118c..7c07aa63b1 100644
--- a/gtk/gtkmenubar.c
+++ b/gtk/gtkmenubar.c
@@ -564,7 +564,7 @@ gtk_menu_bar_size_allocate (GtkWidget *widget,
remaining_space.width -= request->minimum_size;
if (i + 1 == requested_sizes->len && GTK_IS_MENU_ITEM (request->data) &&
- gtk_menu_item_get_right_justified (request->data))
+ GTK_MENU_ITEM (request->data)->priv->right_justify)
ltr = !ltr;
if (ltr)
@@ -618,7 +618,7 @@ gtk_menu_bar_size_allocate (GtkWidget *widget,
remaining_space.height -= request->minimum_size;
if (i + 1 == requested_sizes->len && GTK_IS_MENU_ITEM (request->data) &&
- gtk_menu_item_get_right_justified (request->data))
+ GTK_MENU_ITEM (request->data)->priv->right_justify)
ttb = !ttb;
if (ttb)