X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkmenushell.h;h=c3bd8797e4c36a1e63fbed35890d8eba86dce85e;hb=cb27c4b08c278ac7e8a882b638dbf30acd1436cf;hp=0b6d5710cf7d9da81dcd4d59430f7d99f6a7432b;hpb=920e8b434367f9aa8aab306721cc024e66892e2e;p=~andy%2Fgtk diff --git a/gtk/gtkmenushell.h b/gtk/gtkmenushell.h index 0b6d5710c..c3bd8797e 100644 --- a/gtk/gtkmenushell.h +++ b/gtk/gtkmenushell.h @@ -12,9 +12,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ /* @@ -24,14 +22,14 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) -#error "Only can be included directly." -#endif - #ifndef __GTK_MENU_SHELL_H__ #define __GTK_MENU_SHELL_H__ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + #include @@ -114,6 +112,12 @@ void gtk_menu_shell_set_take_focus (GtkMenuShell *menu_shell, GtkWidget *gtk_menu_shell_get_selected_item (GtkMenuShell *menu_shell); GtkWidget *gtk_menu_shell_get_parent_shell (GtkMenuShell *menu_shell); +GDK_AVAILABLE_IN_3_6 +void gtk_menu_shell_bind_model (GtkMenuShell *menu_shell, + GMenuModel *model, + const gchar *action_namespace, + gboolean with_separators); + G_END_DECLS #endif /* __GTK_MENU_SHELL_H__ */