]> Pileus Git - ~andy/gtk/commit
gtkmodelmenu: simplify logic, expose bind API
authorRyan Lortie <desrt@desrt.ca>
Tue, 11 Sep 2012 15:38:06 +0000 (11:38 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 17 Sep 2012 16:31:22 +0000 (12:31 -0400)
commitdd143479fe85f16e4ea010a7b03d4365d9d9234e
tree6101e20075598591dcfa355c5c12f9c73b250937
parent778aa7ade0107fa645ab1427132551d138c7334a
gtkmodelmenu: simplify logic, expose bind API

Make the main (and only) entry-point to gtkmodelmenu.c the now-public
gtk_menu_shell_bind_model().

Move the convenience constructors (gtk_menu_new_from_model() and
gtk_menu_bar_new_from_model()) to their proper files.

Remove the private header file.

Simplify the code a bit by making the initial populate part of the
bind() call.

https://bugzilla.gnome.org/show_bug.cgi?id=682831
docs/reference/gtk/gtk3-sections.txt
gtk/gtk.symbols
gtk/gtkapplicationwindow.c
gtk/gtkmenu.c
gtk/gtkmenubar.c
gtk/gtkmenushell.h
gtk/gtkmodelmenu.c
gtk/gtkmodelmenu.h [deleted file]
gtk/gtkmodelmenuitem.c