This is an automated email from the git hooks/post-receive script. f2404 pushed a commit to branch master in repository apps/xfce4-terminal.
commit 9e1e6c16bbc764bc36914e3ff238fb756302be34 Author: Igor <f2...@yandex.ru> Date: Wed Oct 12 18:02:26 2016 +0300 Resolve gtk_style_context_get_background_color and gtk_widget_override_background_color deprecated warnings --- terminal/terminal-window.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c index 1ab65a0..0809a73 100644 --- a/terminal/terminal-window.c +++ b/terminal/terminal-window.c @@ -333,8 +333,6 @@ terminal_window_init (TerminalWindow *window) GdkScreen *screen; GdkVisual *visual; GtkStyleContext *context; - GtkStateFlags state; - GdkRGBA bg; window->preferences = terminal_preferences_get (); @@ -376,10 +374,8 @@ terminal_window_init (TerminalWindow *window) gtk_container_add (GTK_CONTAINER (window), window->vbox); /* avoid transparent widgets, such as menubar or tabbar */ - context = gtk_widget_get_style_context (GTK_WIDGET (window)); - state = gtk_widget_get_state_flags (GTK_WIDGET (window)); - gtk_style_context_get_background_color (context, state, &bg); - gtk_widget_override_background_color (window->vbox, state, &bg); + context = gtk_widget_get_style_context (window->vbox); + gtk_style_context_add_class (context, GTK_STYLE_CLASS_BACKGROUND); /* allocate the notebook for the terminal screens */ g_object_get (G_OBJECT (window->preferences), "misc-always-show-tabs", &always_show_tabs, NULL); -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits