mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
Privatize view_append_children()
This commit is contained in:
parent
9ec49144ac
commit
60d536304b
2 changed files with 9 additions and 10 deletions
18
src/view.c
18
src/view.c
|
|
@ -808,6 +808,15 @@ _minimize(struct view *view, bool minimized)
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
view_append_children(struct view *view, struct wl_array *children)
|
||||
{
|
||||
assert(view);
|
||||
if (view->impl->append_children) {
|
||||
view->impl->append_children(view, children);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
minimize_sub_views(struct view *view, bool minimized)
|
||||
{
|
||||
|
|
@ -2337,15 +2346,6 @@ view_move_to_back(struct view *view)
|
|||
desktop_update_top_layer_visibility(view->server);
|
||||
}
|
||||
|
||||
void
|
||||
view_append_children(struct view *view, struct wl_array *children)
|
||||
{
|
||||
assert(view);
|
||||
if (view->impl->append_children) {
|
||||
view->impl->append_children(view, children);
|
||||
}
|
||||
}
|
||||
|
||||
struct view *
|
||||
view_get_modal_dialog(struct view *view)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue