comparison src/dialogs.c @ 3523:82180bb28f1f

[gaim-migrate @ 3596] some memleak fixes. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 16 Sep 2002 19:50:52 +0000
parents db00eb77997d
children 369d419c8a29
comparison
equal deleted inserted replaced
3522:62bef830ce61 3523:82180bb28f1f
591 break; 591 break;
592 */ 592 */
593 } 593 }
594 if (filename) { 594 if (filename) {
595 img = gtk_image_new_from_file(filename); 595 img = gtk_image_new_from_file(filename);
596 g_free(filename);
596 gtk_misc_set_alignment(GTK_MISC(img), 0, 0); 597 gtk_misc_set_alignment(GTK_MISC(img), 0, 0);
597 } 598 }
598 d = gtk_dialog_new_with_buttons("", NULL, GTK_DIALOG_MODAL, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT); 599 d = gtk_dialog_new_with_buttons("", NULL, GTK_DIALOG_MODAL, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT);
599 g_signal_connect(d, "response", G_CALLBACK(gtk_widget_destroy), NULL); 600 g_signal_connect(d, "response", G_CALLBACK(gtk_widget_destroy), NULL);
600 601