summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-10-17 21:27:51 +0300
committermonsta <[email protected]>2016-10-17 21:27:51 +0300
commit87bfe9e7757b9c90576023d0a4d47ac6c73fdc7c (patch)
treecb861c50be6b876b680211cc7c02c4ae1b6bf241 /src
parentc52928a1b7923c36f08ff33e17c5e10e70410f75 (diff)
downloadeom-87bfe9e7757b9c90576023d0a4d47ac6c73fdc7c.tar.bz2
eom-87bfe9e7757b9c90576023d0a4d47ac6c73fdc7c.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
Diffstat (limited to 'src')
-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;
}