Sun, 02 Dec 2007 02:29:39 +0000
Remove the file dialog first before dumping the screenshot.
| finch/libgnt/gntwm.c | file | annotate | diff | comparison | revisions |
--- 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