summaryrefslogtreecommitdiff
path: root/plugins
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
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')
-rw-r--r--plugins/a11y-keyboard/msd-a11y-keyboard-manager.c2
-rw-r--r--plugins/xrandr/msd-xrandr-manager.c7
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,