summaryrefslogtreecommitdiff
path: root/plugins/xrandr
diff options
context:
space:
mode:
authorElan Ruusamäe <[email protected]>2013-02-26 01:20:05 +0200
committerStefano Karapetsas <[email protected]>2013-02-26 12:38:45 +0100
commit0b3b433b720718b2e401078288b603cdff6917d2 (patch)
tree71fab5b9e1238550f26aa8eeee446e6f209c5721 /plugins/xrandr
parent0f21ea2e034a258a69a194b8a9ed46cb57f20f5d (diff)
downloadmate-settings-daemon-0b3b433b720718b2e401078288b603cdff6917d2.tar.bz2
mate-settings-daemon-0b3b433b720718b2e401078288b603cdff6917d2.tar.xz
two more fixes for libnotify
** (mate-settings-daemon:27918): WARNING **: /usr/lib64/mate-settings-daemon/liba11y-keyboard.so: undefined symbol: notify_notification_attach_to_status_icon ** (mate-settings-daemon:27225): WARNING **: /usr/lib64/mate-settings-daemon/libxrandr.so: undefined symbol: notify_notification_new_with_status_icon liba11-keyboard change done similarily to GNOME, just removing it: https://github.com/GNOME/gnome-settings-daemon/commit/e1ab570b0dce479ba235e5542ea07d1b5bafc4c9
Diffstat (limited to 'plugins/xrandr')
-rw-r--r--plugins/xrandr/msd-xrandr-manager.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c
index 13a1b19..295f6ab 100644
--- a/plugins/xrandr/msd-xrandr-manager.c
+++ b/plugins/xrandr/msd-xrandr-manager.c
@@ -1086,10 +1086,9 @@ error_message (MsdXrandrManager *mgr, const char *primary_text, GError *error_to
g_assert (error_to_display == NULL || secondary_text == NULL);
if (priv->status_icon)
- notification = notify_notification_new_with_status_icon (primary_text,
- error_to_display ? error_to_display->message : secondary_text,
- MSD_XRANDR_ICON_NAME,
- priv->status_icon);
+ notification = notify_notification_new (primary_text,
+ error_to_display ? error_to_display->message : secondary_text,
+ gtk_status_icon_get_icon_name(priv->status_icon));
else
notification = notify_notification_new (primary_text,
error_to_display ? error_to_display->message : secondary_text,