rm unnecessary VTE_TERMINAL casts

This commit is contained in:
Daniel Micay 2012-06-19 16:11:48 -04:00
parent 86baaf5508
commit 46f1aa9ea9
1 changed files with 2 additions and 2 deletions

View File

@ -383,8 +383,8 @@ static void load_config(GtkWindow *window, VteTerminal *vte,
}
if (get_config_double(config, "options", "transparency", &cfgdouble)) {
vte_terminal_set_background_saturation(VTE_TERMINAL(vte), cfgdouble);
vte_terminal_set_opacity(VTE_TERMINAL(vte), (guint16)(0xffff * (1 - cfgdouble)));
vte_terminal_set_background_saturation(vte, cfgdouble);
vte_terminal_set_opacity(vte, (guint16)(0xffff * (1 - cfgdouble)));
}
GdkColor foreground, background, cursor, palette[16];