mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
ssd: Simplify ssd_create()
- Add `active` argument for consistency with `ssd_set_active()` - `assert()` that `ssd_create()` is not called twice without an `ssd_destroy()` in between
This commit is contained in:
parent
ac9228e7f8
commit
4e7891eb8d
3 changed files with 6 additions and 11 deletions
|
|
@ -146,7 +146,7 @@ struct ssd_hover_state {
|
|||
};
|
||||
|
||||
/* Public SSD API */
|
||||
void ssd_create(struct view *view);
|
||||
void ssd_create(struct view *view, bool active);
|
||||
void ssd_set_active(struct view *view, bool active);
|
||||
void ssd_update_title(struct view *view);
|
||||
void ssd_update_geometry(struct view *view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue