comparison src/gtkutils.c @ 6236:7ff81c01d238

[gaim-migrate @ 6729] This should fix "Buddy pounce causes segfault in 0.66," although I have no idea how that could possibly be happening. http://sourceforge.net/tracker/index.php?func=detail&aid=774295&group_id=235&atid=100235 committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 19 Jul 2003 20:01:32 +0000
parents 156953fe3e14
children 8f94cce8faa5
comparison
equal deleted inserted replaced
6235:1049dd7e976e 6236:7ff81c01d238
775 775
776 gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, FALSE, 0); 776 gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, FALSE, 0);
777 gtk_widget_show(image); 777 gtk_widget_show(image);
778 778
779 g_snprintf(buf, sizeof(buf), "%s (%s)", 779 g_snprintf(buf, sizeof(buf), "%s (%s)",
780 gaim_account_get_username(account), plugin->info->name); 780 gaim_account_get_username(account),
781 (plugin != NULL) ? plugin->info->name : _("Unknown"));
781 782
782 /* Create the label. */ 783 /* Create the label. */
783 label = gtk_label_new(buf); 784 label = gtk_label_new(buf);
784 gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT); 785 gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT);
785 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); 786 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);