comparison 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
comparison
equal deleted inserted replaced
2948:830fdbec31be 2949:7a88f6d9cd92
673 g_free(pixmaptext); 673 g_free(pixmaptext);
674 return; 674 return;
675 } 675 }
676 676
677 priv->pixmap_width = length * bmp_active_skin->properties.textbox_bitmap_font_width; 677 priv->pixmap_width = length * bmp_active_skin->properties.textbox_bitmap_font_width;
678 priv->pixmap = gdk_pixmap_new(mainwin->window, 678 priv->pixmap = gdk_pixmap_new(NULL,
679 priv->pixmap_width, bmp_active_skin->properties.textbox_bitmap_font_height, 679 priv->pixmap_width, bmp_active_skin->properties.textbox_bitmap_font_height,
680 gdk_rgb_get_visual()->depth); 680 gdk_rgb_get_visual()->depth);
681 gc = priv->gc; 681 gc = priv->gc;
682 682
683 for (i = 0; i < length; i++) { 683 for (i = 0; i < length; i++) {