summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-10-17 21:27:51 +0300
committermonsta <[email protected]>2017-01-26 15:00:45 +0300
commitf4a47715f30743cd05efe58588dd00e886ab8c22 (patch)
treecb861c50be6b876b680211cc7c02c4ae1b6bf241
parentc52928a1b7923c36f08ff33e17c5e10e70410f75 (diff)
downloadeom-f4a47715f30743cd05efe58588dd00e886ab8c22.tar.bz2
eom-f4a47715f30743cd05efe58588dd00e886ab8c22.tar.xz
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
-rw-r--r--src/eom-preferences-dialog.c1
1 files changed, 1 insertions, 0 deletions
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;
}