From 0b3b433b720718b2e401078288b603cdff6917d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 26 Feb 2013 01:20:05 +0200 Subject: 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 --- plugins/a11y-keyboard/msd-a11y-keyboard-manager.c | 2 -- plugins/xrandr/msd-xrandr-manager.c | 7 +++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c index af45b9b..32a317b 100644 --- a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c +++ b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c @@ -592,7 +592,6 @@ ax_slowkeys_warning_post_bubble (MsdA11yKeyboardManager *manager, manager->priv->notification = notify_notification_new (title, message, "preferences-desktop-accessibility"); - notify_notification_attach_to_status_icon (manager->priv->notification, manager->priv->status_icon); notify_notification_set_timeout (manager->priv->notification, NOTIFICATION_TIMEOUT * 1000); notify_notification_add_action (manager->priv->notification, @@ -730,7 +729,6 @@ ax_stickykeys_warning_post_bubble (MsdA11yKeyboardManager *manager, manager->priv->notification = notify_notification_new (title, message, "preferences-desktop-accessibility"); - notify_notification_attach_to_status_icon (manager->priv->notification, manager->priv->status_icon); notify_notification_set_timeout (manager->priv->notification, NOTIFICATION_TIMEOUT * 1000); notify_notification_add_action (manager->priv->notification, 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, -- cgit v1.2.1