Mercurial > pidgin.yaz
diff finch/libgnt/gntwm.c @ 21717:48bdb5b2e35b
Remove the file dialog first before dumping the screenshot.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 02 Dec 2007 02:29:39 +0000 |
parents | 65f2a29617a2 |
children | 9487a26750d8 |
line wrap: on
line diff
--- a/finch/libgnt/gntwm.c Sat Dec 01 19:34:59 2007 +0000 +++ b/finch/libgnt/gntwm.c Sun Dec 02 02:29:39 2007 +0000 @@ -692,6 +692,7 @@ {'\0', NULL} }; + gnt_widget_destroy(GNT_WIDGET(fs)); if ((file = g_fopen(path, "w+")) == NULL) { return; @@ -803,7 +804,6 @@ } fprintf(file, "</pre>\n</body>"); fclose(file); - gnt_widget_destroy(GNT_WIDGET(fs)); } static void