aboutsummaryrefslogtreecommitdiff
path: root/libmessaging-menu/messaging-menu.c
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-08-23 12:23:24 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-08-23 12:23:24 +0200
commit95aa2195c3e7e5873a1508e77b8305cf92e2215b (patch)
treeef4cf3a5b72aee11d3cf50c23600b915b6d85373 /libmessaging-menu/messaging-menu.c
parentd519ebfb52d69765f4e1ec0aa3f115f2c04c9bb4 (diff)
downloadayatana-indicator-messages-95aa2195c3e7e5873a1508e77b8305cf92e2215b.tar.gz
ayatana-indicator-messages-95aa2195c3e7e5873a1508e77b8305cf92e2215b.tar.bz2
ayatana-indicator-messages-95aa2195c3e7e5873a1508e77b8305cf92e2215b.zip
libmessaging-menu: don't warn when removing a non-existant source
Diffstat (limited to 'libmessaging-menu/messaging-menu.c')
-rw-r--r--libmessaging-menu/messaging-menu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libmessaging-menu/messaging-menu.c b/libmessaging-menu/messaging-menu.c
index daeaeb5..69fb3b7 100644
--- a/libmessaging-menu/messaging-menu.c
+++ b/libmessaging-menu/messaging-menu.c
@@ -716,10 +716,7 @@ messaging_menu_app_remove_source (MessagingMenuApp *app,
g_return_if_fail (source_id != NULL);
if (g_simple_action_group_lookup (app->source_actions, source_id) == NULL)
- {
- g_warning ("%s: a source with id '%s' doesn't exist", G_STRFUNC, source_id);
return;
- }
n_items = g_menu_model_get_n_items (G_MENU_MODEL (app->menu));
for (i = 0; i < n_items; i++)