[Xfce4-commits] [xfce/xfce4-session] 12/30: Ignore the override background color warning for now

noreply at xfce.org noreply at xfce.org
Sun May 15 18:03:31 CEST 2016


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfce4-session.

commit 088f33726bafe82e951b485785f64377f70accce
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Mon Apr 18 15:20:02 2016 +0300

    Ignore the override background color warning for now
---
 libxfsm/xfsm-util.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libxfsm/xfsm-util.c b/libxfsm/xfsm-util.c
index 54a4bdc..f8809e3 100644
--- a/libxfsm/xfsm-util.c
+++ b/libxfsm/xfsm-util.c
@@ -162,11 +162,13 @@ xfsm_window_add_border (GtkWindow *window)
   gtk_widget_realize(GTK_WIDGET(window));
 
   box1 = gtk_event_box_new ();
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
   gtk_style_context_get_background_color(gtk_widget_get_style_context (GTK_WIDGET(window)),
                                          GTK_STATE_SELECTED,
                                          &bg_color);
   gtk_widget_override_background_color (box1, GTK_STATE_NORMAL,
                                         &bg_color);
+G_GNUC_END_IGNORE_DEPRECATIONS
   gtk_widget_show (box1);
 
   box2 = gtk_event_box_new ();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list