From 3f3aa147ac8ee224f40d9c4e9800b4c5825fde59 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Wed, 22 May 2013 22:51:19 -0400 Subject: Add IdoMenuItemFactory It's implementing the GtkMenuItemFactory extension point (only available in Ubuntu's version of gtk+). It doesn't create any menu items yet. The extension point must be registered before calling gtk_menu_new_from_model() with a menu model that references any of the custom menu items ido will provide. Registering means the type must exist in the type system. This patch adds an ido_init() which does that. Consumers of libido are required to call this function from now on. --- src/libido.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libido.h') diff --git a/src/libido.h b/src/libido.h index 4c4f68b..43a8168 100644 --- a/src/libido.h +++ b/src/libido.h @@ -31,4 +31,6 @@ #include #include +void ido_init (void); + #endif /* __IDO__ */ -- cgit v1.2.3