mirror of
https://github.com/labwc/labwc.git
synced 2026-04-06 07:15:40 -04:00
add deprecation warning
This commit is contained in:
parent
1e7f3db14e
commit
88985bc3d1
1 changed files with 2 additions and 0 deletions
|
|
@ -1182,6 +1182,8 @@ entry(xmlNode *node, char *nodename, char *content)
|
|||
} else if (!strcasecmp(nodename, "range.snapping")) {
|
||||
rc.snap_edge_range_inner = atoi(content);
|
||||
rc.snap_edge_range_outer = atoi(content);
|
||||
wlr_log(WLR_ERROR, "<snapping><range> is deprecated. "
|
||||
"Use <snapping><range inner=\"\" outer=\"\"> instead.");
|
||||
} else if (!strcasecmp(nodename, "inner.range.snapping")) {
|
||||
rc.snap_edge_range_inner = atoi(content);
|
||||
} else if (!strcasecmp(nodename, "outer.range.snapping")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue