one more usage of cfg_bool

This commit is contained in:
Daniel Micay 2012-10-14 14:30:47 -04:00
parent f8954994bb
commit 3909b180f7
1 changed files with 1 additions and 1 deletions

View File

@ -944,7 +944,7 @@ static void load_config(GtkWindow *window, VteTerminal *vte, config_info *info,
if (auto opacity = get_config_double(config, "options", "transparency")) { if (auto opacity = get_config_double(config, "options", "transparency")) {
vte_terminal_set_background_saturation(vte, *opacity); vte_terminal_set_background_saturation(vte, *opacity);
gboolean pseudo = get_config_boolean(config, "options", "pseudo_transparency").get_value_or(FALSE); gboolean pseudo = cfg_bool("pseudo_transparency", FALSE);
vte_terminal_set_background_transparent(vte, pseudo); vte_terminal_set_background_transparent(vte, pseudo);
GdkScreen *screen = gtk_widget_get_screen(GTK_WIDGET(window)); GdkScreen *screen = gtk_widget_get_screen(GTK_WIDGET(window));