[Xfce4-commits] [xfce/xfce4-session] 03/30: GSEAL xfsm-util
noreply at xfce.org
noreply at xfce.org
Sun May 15 18:03:22 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 1933465c13cfb340195c9cec2cef20771b8357da
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Mon Mar 21 09:39:10 2016 +0300
GSEAL xfsm-util
---
libxfsm/xfsm-util.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libxfsm/xfsm-util.c b/libxfsm/xfsm-util.c
index ddd9d2a..2ab87fe 100644
--- a/libxfsm/xfsm-util.c
+++ b/libxfsm/xfsm-util.c
@@ -162,7 +162,7 @@ xfsm_window_add_border (GtkWindow *window)
box1 = gtk_event_box_new ();
gtk_widget_modify_bg (box1, GTK_STATE_NORMAL,
- &(GTK_WIDGET(window)->style->bg [GTK_STATE_SELECTED]));
+ &(gtk_widget_get_style (GTK_WIDGET(window))->bg [GTK_STATE_SELECTED]));
gtk_widget_show (box1);
box2 = gtk_event_box_new ();
@@ -170,7 +170,7 @@ xfsm_window_add_border (GtkWindow *window)
gtk_container_add (GTK_CONTAINER (box1), box2);
gtk_container_set_border_width (GTK_CONTAINER (box2), 6);
- gtk_widget_reparent (GTK_BIN (window)->child, box2);
+ gtk_widget_reparent (gtk_bin_get_child(GTK_BIN (window)), box2);
gtk_container_add (GTK_CONTAINER (window), box1);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list