diff src/audacious/ui_skinned_textbox.c @ 2949:7a88f6d9cd92 trunk

use g_strdup_printf instead of fixed-size gchar*
author Tomasz Mon <desowin@gmail.com>
date Sun, 01 Jul 2007 14:29:27 +0200
parents 830fdbec31be
children 4586c0951eab
line wrap: on
line diff
--- a/src/audacious/ui_skinned_textbox.c	Sun Jul 01 13:31:07 2007 +0200
+++ b/src/audacious/ui_skinned_textbox.c	Sun Jul 01 14:29:27 2007 +0200
@@ -675,7 +675,7 @@
     }
 
     priv->pixmap_width = length * bmp_active_skin->properties.textbox_bitmap_font_width;
-    priv->pixmap = gdk_pixmap_new(mainwin->window,
+    priv->pixmap = gdk_pixmap_new(NULL,
                                      priv->pixmap_width, bmp_active_skin->properties.textbox_bitmap_font_height,
                                      gdk_rgb_get_visual()->depth);
     gc = priv->gc;