diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-08-12 21:19:42 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-08-12 21:19:42 +0200 |
commit | ff4aefe6c8d9c36881f26c2cf8514c2ce1f3edca (patch) | |
tree | 853b2ae06615f5beed76334efe97bbc94f2f2fb7 /src/im-phone-menu.h | |
parent | 769affeef08a04881a5a84aa5c2db2caedf70646 (diff) | |
download | ayatana-indicator-messages-ff4aefe6c8d9c36881f26c2cf8514c2ce1f3edca.tar.gz ayatana-indicator-messages-ff4aefe6c8d9c36881f26c2cf8514c2ce1f3edca.tar.bz2 ayatana-indicator-messages-ff4aefe6c8d9c36881f26c2cf8514c2ce1f3edca.zip |
Add ImMenu
A base class for all messaging menus. ImPhoneMenu already subclasses from it,
with a desktop version coming up.
Diffstat (limited to 'src/im-phone-menu.h')
-rw-r--r-- | src/im-phone-menu.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/im-phone-menu.h b/src/im-phone-menu.h index 258ce73..9742f61 100644 --- a/src/im-phone-menu.h +++ b/src/im-phone-menu.h @@ -20,7 +20,7 @@ #ifndef __IM_PHONE_MENU_H__ #define __IM_PHONE_MENU_H__ -#include <gio/gio.h> +#include "im-menu.h" #define IM_TYPE_PHONE_MENU (im_phone_menu_get_type ()) #define IM_PHONE_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IM_TYPE_PHONE_MENU, ImPhoneMenu)) @@ -33,9 +33,7 @@ typedef struct _ImPhoneMenu ImPhoneMenu; GType im_phone_menu_get_type (void); -ImPhoneMenu * im_phone_menu_new (void); - -GMenuModel * im_phone_menu_get_model (ImPhoneMenu *menu); +ImPhoneMenu * im_phone_menu_new (ImApplicationList *applist); void im_phone_menu_add_message (ImPhoneMenu *menu, const gchar *app_id, |