aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-06-17 18:02:38 +0100
committerConor Curran <conor.curran@canonical.com>2010-06-17 18:02:38 +0100
commit5f7e8583de28afb9424666bbf9652b9774cf9499 (patch)
tree37ab15bef7ff780e512a24d685e11436ab1b6b84 /src/transport-widget.c
parent05e82f2c6a8a72aeb3a589b702e5a9f1d68251d9 (diff)
downloadayatana-indicator-sound-5f7e8583de28afb9424666bbf9652b9774cf9499.tar.gz
ayatana-indicator-sound-5f7e8583de28afb9424666bbf9652b9774cf9499.tar.bz2
ayatana-indicator-sound-5f7e8583de28afb9424666bbf9652b9774cf9499.zip
merge request comments applied
Diffstat (limited to 'src/transport-widget.c')
-rw-r--r--src/transport-widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport-widget.c b/src/transport-widget.c
index ce364e3..c53513d 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -170,7 +170,7 @@ transport_widget_button_press_event (GtkWidget *menuitem,
gboolean state = g_ascii_strcasecmp(gtk_button_get_label(GTK_BUTTON(priv->play_button)), ">") == 0;
- gtk_button_set_label(GTK_BUTTON(priv->play_button), g_strdup(transport_widget_toggle_play_label(gtk_button_get_label(GTK_BUTTON(priv->play_button)))));
+ gtk_button_set_label(GTK_BUTTON(priv->play_button), transport_widget_toggle_play_label(gtk_button_get_label(GTK_BUTTON(priv->play_button))));
GValue value = {0};
g_value_init(&value, G_TYPE_BOOLEAN);
g_debug("TransportWidget::menu_press_event - going to send value %i", state);