diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-31 14:45:40 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-31 14:45:40 +0100 |
commit | 059a674f7bdeab29a3ab2950ee962bec58788d28 (patch) | |
tree | 443617b519d6bcd4b16a32d4e6b9f0d2e8d12f11 /plugins | |
parent | 21320a9e9e12e683f4e2cf58605c4fa80896a907 (diff) |
fixed filling of comment widget in track properties
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gtkui/callbacks.c | 4 |
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); } |