Mercurial > audlegacy
changeset 2961:dd53d2d49b79 trunk
Use gtk_widget_queue_draw() instead of forcing a draw operation which can be an X protocol violation.
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Sun, 01 Jul 2007 19:44:19 -0500 |
parents | aeb8b690c92b |
children | ba45ef731cf1 |
files | src/audacious/ui_skinned_textbox.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_skinned_textbox.c Sun Jul 01 20:14:18 2007 +0200 +++ b/src/audacious/ui_skinned_textbox.c Sun Jul 01 19:44:19 2007 -0500 @@ -521,6 +521,7 @@ textbox->text = str_to_utf8(text); priv->scroll_back = FALSE; textbox->redraw = TRUE; + gtk_widget_queue_draw(GTK_WIDGET(textbox)); } static void textbox_generate_xfont_pixmap(UiSkinnedTextbox *textbox, const gchar *pixmaptext) {