search for: label_set_text

Displaying 1 result from an estimated 1 matches for "label_set_text".

2004 Sep 10
2
xmms plugin, fileinfo
...tic gchar *current_filename = NULL; -extern gchar *flac_filename; -extern gint flac_bitrate, flac_frequency, flac_layer, flac_lsf, flac_mode; -extern gboolean flac_stereo, flac_flac25; - -#define MAX_STR_LEN 100 - -static void set_entry_tag(GtkEntry * entry, gchar * tag, gint length) +static void label_set_text(GtkWidget * label, char *str, ...) { - gint stripped_len; - gchar *text; + va_list args; + gchar *tempstr; + + va_start(args, str); + tempstr = g_strdup_vprintf(str, args); + va_end(args); - stripped_len = flac_strip_spaces(tag, length); - text = g_strdup_printf("%-*.*s", stripped_len,...