mirror of
https://github.com/labwc/labwc.git
synced 2026-02-23 01:40:18 -05:00
osd,ssd: don't cast away const
This commit is contained in:
parent
e6f54a0fc8
commit
40eed3915a
2 changed files with 2 additions and 2 deletions
|
|
@ -440,7 +440,7 @@ ssd_update_title(struct ssd *ssd)
|
|||
}
|
||||
|
||||
struct view *view = ssd->view;
|
||||
char *title = (char *)view_get_string_prop(view, "title");
|
||||
const char *title = view_get_string_prop(view, "title");
|
||||
if (string_null_or_empty(title)) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue