Mercurial > pidgin.yaz
comparison pidgin/gtkplugin.c @ 23098:3b54c57749e8
Unleak
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Fri, 23 May 2008 13:38:40 +0000 |
parents | 917bc972a141 |
children | 865ed80b17e1 |
comparison
equal
deleted
inserted
replaced
23097:56d958e7b7d1 | 23098:3b54c57749e8 |
---|---|
419 buf = g_strdup_printf( | 419 buf = g_strdup_printf( |
420 "<span size=\"larger\" weight=\"bold\">%s</span> " | 420 "<span size=\"larger\" weight=\"bold\">%s</span> " |
421 "<span size=\"smaller\">%s</span>", | 421 "<span size=\"smaller\">%s</span>", |
422 name, version); | 422 name, version); |
423 gtk_label_set_markup(plugin_name, buf); | 423 gtk_label_set_markup(plugin_name, buf); |
424 g_free(name); | |
425 g_free(version); | |
424 g_free(buf); | 426 g_free(buf); |
425 | 427 |
426 gtk_text_buffer_set_text(plugin_desc, purple_plugin_get_description(plug), -1); | 428 gtk_text_buffer_set_text(plugin_desc, purple_plugin_get_description(plug), -1); |
427 gtk_label_set_text(plugin_author, purple_plugin_get_author(plug)); | 429 gtk_label_set_text(plugin_author, purple_plugin_get_author(plug)); |
428 gtk_label_set_text(plugin_filename, plug->path); | 430 gtk_label_set_text(plugin_filename, plug->path); |
692 pidgin_add_widget_to_vbox(vbox, "", sg, | 694 pidgin_add_widget_to_vbox(vbox, "", sg, |
693 GTK_WIDGET(plugin_filename), TRUE, &label); | 695 GTK_WIDGET(plugin_filename), TRUE, &label); |
694 gtk_label_set_markup(GTK_LABEL(label), _("<b>Filename:</b>")); | 696 gtk_label_set_markup(GTK_LABEL(label), _("<b>Filename:</b>")); |
695 gtk_misc_set_alignment(GTK_MISC(label), 0, 0); | 697 gtk_misc_set_alignment(GTK_MISC(label), 0, 0); |
696 | 698 |
699 g_object_unref(sg); | |
700 | |
697 return GTK_WIDGET(vbox); | 701 return GTK_WIDGET(vbox); |
698 } | 702 } |
699 | 703 |
700 | 704 |
701 void pidgin_plugin_dialog_show() | 705 void pidgin_plugin_dialog_show() |