summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-31 14:45:40 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-31 14:45:40 +0100
commit059a674f7bdeab29a3ab2950ee962bec58788d28 (patch)
tree443617b519d6bcd4b16a32d4e6b9f0d2e8d12f11 /plugins
parent21320a9e9e12e683f4e2cf58605c4fa80896a907 (diff)
fixed filling of comment widget in track properties
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtkui/callbacks.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/gtkui/callbacks.c b/plugins/gtkui/callbacks.c
index d9b69fd2..f73548a9 100644
--- a/plugins/gtkui/callbacks.c
+++ b/plugins/gtkui/callbacks.c
@@ -2360,7 +2360,9 @@ on_properties1_activate (GtkMenuItem *menuitem,
if (!meta) {
meta = "";
}
- gtk_entry_set_text (GTK_ENTRY (w), meta);
+ GtkTextBuffer *buffer = gtk_text_buffer_new (NULL);
+ gtk_text_buffer_set_text (buffer, meta, strlen (meta));
+ g_object_unref (buffer);
gtk_widget_show (widget);
}