From: Colin Clark Date: Wed, 5 Aug 2020 13:17:22 +0000 (+0100) Subject: Addl fix #599: Geeqie won't start if clutter fails to init X-Git-Tag: v1.6~28 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=30b97e86518ad71518e2e6394be5fe4e150f21c0 Addl fix #599: Geeqie won't start if clutter fails to init https://github.com/BestImageViewer/geeqie/issues/559 Missing source file. --- diff --git a/src/preferences.c b/src/preferences.c index dee0b47e..41bdc72f 100644 --- a/src/preferences.c +++ b/src/preferences.c @@ -2196,7 +2196,7 @@ static void config_tab_image(GtkWidget *notebook) table = pref_table_new(group, 2, 1, FALSE, FALSE); add_quality_menu(table, 0, 0, _("Quality:"), options->image.zoom_quality, &c_options->image.zoom_quality); - if (options->image.use_clutter_renderer) + if (options->image.use_clutter_renderer && !options->disable_gpu) { gtk_widget_set_sensitive(table, FALSE); } @@ -2212,7 +2212,7 @@ static void config_tab_image(GtkWidget *notebook) two_pass = pref_checkbox_new_int(group, _("Two pass rendering (apply HQ zoom and color correction in second pass)"), options->image.zoom_2pass, &c_options->image.zoom_2pass); - if (options->image.use_clutter_renderer) + if (options->image.use_clutter_renderer && !options->disable_gpu) { gtk_widget_set_sensitive(two_pass, FALSE); }