summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-08-27 15:17:51 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-08-27 15:17:51 +0000
commit807c619d8247be0dfdaadcaaf7a5fd5ea798b057 (patch)
treeb0b2aa979cd8204779fbfe1878ac73d3c7c2739a /demos
parentb5857e558b3c2dd9c930d1c9257fe89edd328cf8 (diff)
downloadgtk+-807c619d8247be0dfdaadcaaf7a5fd5ea798b057.tar.gz
Use autoconf 2.13/2.50 compat macro.
Sun Aug 26 20:00:00 2001 Owen Taylor <otaylor@redhat.com> * configure.in acinclude.m4: Use autoconf 2.13/2.50 compat macro. (patch from ERDI Gergo <cactus@cactus.rulez.org>, #58920) * gtk/gtkmenuitem.c (gtk_menu_item_set_right_justified): Change interface to be a standard setter from gtk_menu_item_right_justify. (gtk_menu_item_get_right_justified): a getter to go with the setter * gtk/gtkmenuitem.h: Add a deprecated compat macro for gtk_menu_item_right_justify. * demos/gtk-demo/menus.c tests/testgtk.c: Switch to gtk_menu_item_set_right_justified.
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/menus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/menus.c b/demos/gtk-demo/menus.c
index 71ecfca0bc..6dba405d78 100644
--- a/demos/gtk-demo/menus.c
+++ b/demos/gtk-demo/menus.c
@@ -128,7 +128,7 @@ do_menus (void)
menuitem = gtk_menu_item_new_with_label ("bar");
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), create_menu (4, TRUE));
- gtk_menu_item_right_justify (GTK_MENU_ITEM (menuitem));
+ gtk_menu_item_set_right_justified (GTK_MENU_ITEM (menuitem), TRUE);
gtk_menu_shell_append (GTK_MENU_SHELL (menubar), menuitem);
gtk_widget_show (menuitem);