Mercurial > pidgin.yaz
comparison src/gtkft.c @ 4680:2c380754eb67
[gaim-migrate @ 4991]
This printf was causing gaim to crash on Solaris, and we don't need it
anyway.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 09 Mar 2003 03:24:34 +0000 |
parents | 3145c5c45877 |
children | 283fb289c510 |
comparison
equal
deleted
inserted
replaced
4679:5b372a95b9a8 | 4680:2c380754eb67 |
---|---|
508 /* Setup the labels */ | 508 /* Setup the labels */ |
509 for (i = 0; i < sizeof(labels) / sizeof(*labels); i++) { | 509 for (i = 0; i < sizeof(labels) / sizeof(*labels); i++) { |
510 GtkWidget *label; | 510 GtkWidget *label; |
511 char buf[256]; | 511 char buf[256]; |
512 | 512 |
513 printf("Adding %s\n", labels[i].desc); | |
514 g_snprintf(buf, sizeof(buf), "<b>%s</b>", labels[i].desc); | 513 g_snprintf(buf, sizeof(buf), "<b>%s</b>", labels[i].desc); |
515 | 514 |
516 *labels[i].desc_label = label = gtk_label_new(NULL); | 515 *labels[i].desc_label = label = gtk_label_new(NULL); |
517 gtk_label_set_markup(GTK_LABEL(label), buf); | 516 gtk_label_set_markup(GTK_LABEL(label), buf); |
518 gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_RIGHT); | 517 gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_RIGHT); |