qulogic/libgnt

2627b8862349
Parents 263d817bd2c1
Children dbc6811b636b
Remove the file dialog first before dumping the screenshot.
  • +1 -1
    gntwm.c
  • --- a/gntwm.c Sat Dec 01 05:46:49 2007 +0000
    +++ b/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