summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@usa.net>2003-05-30 18:29:32 +0000
committerMurray Cumming <murrayc@src.gnome.org>2003-05-30 18:29:32 +0000
commit6006834d46434a2659f5f2b95643afe331baaa16 (patch)
tree5152493d7daa1abf121b87ff5f7d7ced3b72e97d /examples
parent717961aa8c5e9c461341027ebe88eddc9a9b7983 (diff)
downloadgdk-pixbuf-6006834d46434a2659f5f2b95643afe331baaa16.tar.gz
Added 4-sided padding as properties with gtk_alignment_get_padding() and
2003-05-30 Murray Cumming <murrayc@usa.net> * 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().
Diffstat (limited to 'examples')
-rw-r--r--examples/menu/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/menu/menu.c b/examples/menu/menu.c
index 94271df94..970c2fe61 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);