summaryrefslogtreecommitdiff
path: root/gtk/gtkmenubar.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-05-02 16:49:03 +0200
committerBenjamin Otte <otte@redhat.com>2011-05-02 16:57:12 +0200
commit87ecd9ad59e2871c3ff9200fc42040b6d0228ffa (patch)
treeda8002b810a79f7e1503f9f0df8bbc6537f70652 /gtk/gtkmenubar.c
parente8c6dbfab1f50e2d2c3f880617f1cae40929c06c (diff)
downloadgtk+-87ecd9ad59e2871c3ff9200fc42040b6d0228ffa.tar.gz
menuitem: Deprecate gtk_menu_item_set_right_justified()
And the getter, too: gtk_menu_item_get_right_justified() and the corresponding property. Also make the only caller use the private structure (as it did before the recent patches).
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)