diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-03-07 18:26:23 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-03-07 18:26:23 +0000 |
commit | cbd8b0d401add58a06d82c7a5d7fb22b53d80714 (patch) | |
tree | ab53ee84bc763deb56a519edc538e48c51140fe9 /hardinfo2/report.c | |
parent | fd6deac8ca43c7f9d47c0829183648d92e26aac8 (diff) |
Close #6694 (Crash), fix compilation with GTK+2.6
Diffstat (limited to 'hardinfo2/report.c')
-rw-r--r-- | hardinfo2/report.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hardinfo2/report.c b/hardinfo2/report.c index 990abd8b..ca5f1afa 100644 --- a/hardinfo2/report.c +++ b/hardinfo2/report.c @@ -194,8 +194,10 @@ report_get_filename(void) GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL); +#if GTK_CHECK_VERSION(2,8,0) gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog), TRUE); +#endif gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(dialog), "hardinfo report.html"); |