projects
/
dana
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
using g_slice_new() instead of g_new() part 1
[dana/openbox.git]
/
openbox
/
resist.c
diff --git
a/openbox/resist.c
b/openbox/resist.c
index
dc4e2d7
..
8df7cee
100644
(file)
--- a/
openbox/resist.c
+++ b/
openbox/resist.c
@@
-202,7
+202,7
@@
void resist_move_monitors(ObClient *c, gint resist, gint *x, gint *y)
else if (cb <= pb && b > pb && b < pb + resist)
*y = pb - h + 1;
- g_
free(
area);
+ g_
slice_free(Rect,
area);
g_free(parea);
}
@@
-414,7
+414,7
@@
void resist_size_monitors(ObClient *c, gint resist, gint *w, gint *h,
break;
}
- g_
free(
area);
+ g_
slice_free(Rect,
area);
g_free(parea);
}
}