Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ZenWalker
Glade
Commits
46d8aca9
Commit
46d8aca9
authored
Oct 29, 2016
by
Lukas K.
Committed by
Juan Pablo Ugarte
Nov 26, 2017
Browse files
add background class to GladeDesignLayout children
parent
07666151
Changes
1
Hide whitespace changes
Inline
Side-by-side
gladeui/glade-design-layout.c
View file @
46d8aca9
...
...
@@ -973,10 +973,13 @@ glade_design_layout_add (GtkContainer *container, GtkWidget *widget)
{
GladeDesignLayout
*
layout
=
GLADE_DESIGN_LAYOUT
(
container
);
GladeDesignLayoutPrivate
*
priv
=
layout
->
priv
;
GtkStyleContext
*
context
=
gtk_widget_get_style_context
(
widget
);
priv
->
child_rect
.
width
=
0
;
priv
->
child_rect
.
height
=
0
;
gtk_style_context_add_class
(
context
,
"background"
);
gtk_widget_set_parent_window
(
widget
,
priv
->
offscreen_window
);
GTK_CONTAINER_CLASS
(
glade_design_layout_parent_class
)
->
add
(
container
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment