From f4a47715f30743cd05efe58588dd00e886ab8c22 Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 17 Oct 2016 21:27:51 +0300 Subject: prefs dialog: fix runtime warning when "Transparent Parts" option is set to "As background", opening prefs dialog gives a warning. this adds a line missing in commit fb511ab to fix it --- src/eom-preferences-dialog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/eom-preferences-dialog.c b/src/eom-preferences-dialog.c index f97e914..eb0d8b1 100644 --- a/src/eom-preferences-dialog.c +++ b/src/eom-preferences-dialog.c @@ -256,6 +256,7 @@ eom_preferences_dialog_constructor (GType type, default: // Log a warning and use EOM_TRANSP_BACKGROUND as fallback g_warn_if_reached (); + case EOM_TRANSP_BACKGROUND: gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (background_radio), TRUE); break; } -- cgit v1.2.1