aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.c
diff options
context:
space:
mode:
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 10b96df..e1baa68 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -222,7 +222,7 @@ transport_widget_property_update(DbusmenuMenuitem* item, gchar* property,
TransportWidget* bar = (TransportWidget*)userdata;
TransportWidgetPrivate *priv = TRANSPORT_WIDGET_GET_PRIVATE(bar);
- gtk_button_set_label(GTK_BUTTON(priv->play_button), g_strdup(transport_widget_toggle_play_label(property)));
+ gtk_button_set_label(GTK_BUTTON(priv->play_button), transport_widget_toggle_play_label(property));
}
// will be needed for image swapping