summaryrefslogtreecommitdiff
path: root/tests/testgtk.c
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 /tests/testgtk.c
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 'tests/testgtk.c')
-rw-r--r--tests/testgtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 3784953629..233a4b5c39 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -2864,7 +2864,7 @@ create_menus (void)
menuitem = gtk_image_menu_item_new_with_label ("Help");
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menuitem), image);
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), create_menu (4, 5, TRUE));
- gtk_menu_item_right_justify (GTK_MENU_ITEM (menuitem));
+ gtk_menu_item_set_right_justified (GTK_MENU_ITEM (menuitem), TRUE);
gtk_menu_bar_append (GTK_MENU_BAR (menubar), menuitem);
gtk_widget_show (menuitem);