From e49d9d7a50ceed482551c8197434ea01ab56e62c Mon Sep 17 00:00:00 2001 From: Ken VanDine Date: Fri, 11 Feb 2011 10:21:00 -0500 Subject: ported to libnotify >= 0.7 --- src/sound-state-manager.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/sound-state-manager.c') diff --git a/src/sound-state-manager.c b/src/sound-state-manager.c index a592711..0958763 100644 --- a/src/sound-state-manager.c +++ b/src/sound-state-manager.c @@ -151,22 +151,12 @@ sound_state_manager_notification_init (SoundStateManager* self) } if (has_notify_osd) { - priv->notification = notify_notification_new(PACKAGE_NAME, NULL, NULL, NULL); + priv->notification = notify_notification_new(PACKAGE_NAME, NULL, NULL); notify_notification_set_hint_string(priv->notification, "x-canonical-private-synchronous", ""); } } -void -sound_state_manager_attach_notification_to_volume_widget (SoundStateManager *self, - GtkWidget* volume_widget) -{ - SoundStateManagerPrivate* priv = SOUND_STATE_MANAGER_GET_PRIVATE(self); - if (priv->notification) - notify_notification_attach_to_widget(priv->notification, volume_widget); -} - - void sound_state_manager_show_notification (SoundStateManager *self, double value) -- cgit v1.2.3