From 6006834d46434a2659f5f2b95643afe331baaa16 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Fri, 30 May 2003 18:29:32 +0000 Subject: Added 4-sided padding as properties with gtk_alignment_get_padding() and 2003-05-30 Murray Cumming * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with gtk_alignment_get_padding() and gtk_aligment_set_padding(). This uses the new private data system - see g_type_class_add_private() in gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE(). --- examples/menu/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/menu/menu.c b/examples/menu/menu.c index 94271df94d..970c2fe61e 100644 --- a/examples/menu/menu.c +++ b/examples/menu/menu.c @@ -69,7 +69,7 @@ int main( int argc, /* Now we specify that we want our newly created "menu" to be the menu * for the "root menu" */ - gtk_menu_item_set_submenu (GTK_MENU_ITEM (root_menu), menu); + gtk_menu_item_set_submenu (GTK_MENU_ITEM (root_menu), h); /* A vbox to put a menu and a button in: */ vbox = gtk_vbox_new (FALSE, 0); -- cgit v1.2.1