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
|
|
@ -553,7 +553,6 @@ void view_move_to_output(struct view *view, struct output *output);
|
||||||
|
|
||||||
void view_move_to_front(struct view *view);
|
void view_move_to_front(struct view *view);
|
||||||
void view_move_to_back(struct view *view);
|
void view_move_to_back(struct view *view);
|
||||||
void view_append_children(struct view *view, struct wl_array *children);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* view_get_modal_dialog() - returns any modal dialog found among this
|
* view_get_modal_dialog() - returns any modal dialog found among this
|
||||||
|
|
|
||||||
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
|
static void
|
||||||
minimize_sub_views(struct view *view, bool minimized)
|
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);
|
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 *
|
struct view *
|
||||||
view_get_modal_dialog(struct view *view)
|
view_get_modal_dialog(struct view *view)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue