summaryrefslogtreecommitdiff
path: root/applets/notification_area/status-notifier
diff options
context:
space:
mode:
authorAlberts Muktupāvels <[email protected]>2016-12-20 18:02:00 +0200
committerlukefromdc <[email protected]>2017-01-23 13:49:35 -0500
commit50a7d2dd2516e1c1b2b347a89b70f879ac6811de (patch)
treeacd5d3401827573dcb944c137c45d607f8c2c842 /applets/notification_area/status-notifier
parent017323dd4f8337ec91dd18f13955ab2e9df26cff (diff)
downloadmate-panel-50a7d2dd2516e1c1b2b347a89b70f879ac6811de.tar.bz2
mate-panel-50a7d2dd2516e1c1b2b347a89b70f879ac6811de.tar.xz
status-notifier: avoid useless warnings about missing properties
Diffstat (limited to 'applets/notification_area/status-notifier')
-rw-r--r--applets/notification_area/status-notifier/sn-item-v0.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/applets/notification_area/status-notifier/sn-item-v0.c b/applets/notification_area/status-notifier/sn-item-v0.c
index e322b492..15cc6eea 100644
--- a/applets/notification_area/status-notifier/sn-item-v0.c
+++ b/applets/notification_area/status-notifier/sn-item-v0.c
@@ -521,6 +521,12 @@ get_property (GObject *source_object,
return NULL;
}
+ if (g_error_matches (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS))
+ {
+ g_error_free (error);
+ return NULL;
+ }
+
if (error)
{
g_warning ("%s", error->message);