aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-07-11 14:00:28 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-07-11 14:00:28 -0500
commitf71a90bfb6946646960cea78ccd20fd99826de63 (patch)
tree6bf339f15e2276ef9ade7f7b2dfc4cddf29657fb
parentdcde0e28f8cd4d674ba744fad1779f6e9f91eb6e (diff)
downloadayatana-indicator-sound-f71a90bfb6946646960cea78ccd20fd99826de63.tar.gz
ayatana-indicator-sound-f71a90bfb6946646960cea78ccd20fd99826de63.tar.bz2
ayatana-indicator-sound-f71a90bfb6946646960cea78ccd20fd99826de63.zip
remove deprecated call to gtk_style_context_notify_state_change() ... according to the GTK documentation, it's been deprecated since GTK 3.6 and does nothing.
-rw-r--r--src/transport-widget.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/transport-widget.c b/src/transport-widget.c
index 09bb302..0931e1d 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -1849,11 +1849,6 @@ transport_widget_property_update(DbusmenuMenuitem* item, gchar* property,
//g_debug("transport_widget_update_state - with value %i", new_state);
if (new_state == TRANSPORT_STATE_LAUNCHING){
#if GTK_CHECK_VERSION(3, 0, 0)
- gtk_style_context_notify_state_change (spinner_style_context,
- gtk_widget_get_window ( GTK_WIDGET(userdata)),
- NULL,
- GTK_STATE_FLAG_ACTIVE,
- TRUE);
gtk_style_context_set_state (spinner_style_context, GTK_STATE_FLAG_ACTIVE);
#endif