aboutsummaryrefslogtreecommitdiff
path: root/src/im-phone-menu.h
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-11-26 20:32:48 +0000
committerTarmac <Unknown>2012-11-26 20:32:48 +0000
commitefe27b122bc3fef166a7f5f62cdfd81d45495426 (patch)
treeb5c87bcc747acd9cc8f261c6d3d62c7cf8a8daf4 /src/im-phone-menu.h
parent4a6fa0a418b899667988d25b7f8922a031f72f38 (diff)
parent9287c2e6577e71d8f68d9c9e7d393a4f8524ab10 (diff)
downloadayatana-indicator-messages-efe27b122bc3fef166a7f5f62cdfd81d45495426.tar.gz
ayatana-indicator-messages-efe27b122bc3fef166a7f5f62cdfd81d45495426.tar.bz2
ayatana-indicator-messages-efe27b122bc3fef166a7f5f62cdfd81d45495426.zip
Implement more of the phone spec.
Approved by Renato Araujo Oliveira Filho, PS Jenkins bot.
Diffstat (limited to 'src/im-phone-menu.h')
-rw-r--r--src/im-phone-menu.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/im-phone-menu.h b/src/im-phone-menu.h
index b0b6b4f..f6a6118 100644
--- a/src/im-phone-menu.h
+++ b/src/im-phone-menu.h
@@ -21,7 +21,6 @@
#define __IM_PHONE_MENU_H__
#include <gio/gio.h>
-#include <gio/gdesktopappinfo.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))
@@ -39,7 +38,8 @@ ImPhoneMenu * im_phone_menu_new (void);
GMenuModel * im_phone_menu_get_model (ImPhoneMenu *menu);
void im_phone_menu_add_message (ImPhoneMenu *menu,
- GDesktopAppInfo *app,
+ const gchar *app_id,
+ const gchar *app_icon,
const gchar *id,
const gchar *iconstr,
const gchar *title,
@@ -48,20 +48,20 @@ void im_phone_menu_add_message (ImPhoneMenu *men
gint64 time);
void im_phone_menu_remove_message (ImPhoneMenu *menu,
- GDesktopAppInfo *app,
+ const gchar *app_id,
const gchar *id);
void im_phone_menu_add_source (ImPhoneMenu *menu,
- GDesktopAppInfo *app,
+ const gchar *app_id,
const gchar *id,
const gchar *label,
const gchar *iconstr);
void im_phone_menu_remove_source (ImPhoneMenu *menu,
- GDesktopAppInfo *app,
+ const gchar *app_id,
const gchar *id);
-void im_phone_menu_remove_application (ImPhoneMenu *menu,
- GDesktopAppInfo *app);
+void im_phone_menu_remove_application (ImPhoneMenu *menu,
+ const gchar *app_id);
#endif