projects
/
dana
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use const Rect* not Rect const*
[dana/openbox.git]
/
openbox
/
menuframe.c
diff --git
a/openbox/menuframe.c
b/openbox/menuframe.c
index
85f0951
..
9127257
100644
(file)
--- a/
openbox/menuframe.c
+++ b/
openbox/menuframe.c
@@
-321,7
+321,7
@@
static void menu_frame_place_submenu(ObMenuFrame *self, gint *x, gint *y)
void menu_frame_move_on_screen(ObMenuFrame *self, gint x, gint y,
gint *dx, gint *dy)
{
void menu_frame_move_on_screen(ObMenuFrame *self, gint x, gint y,
gint *dx, gint *dy)
{
-
Rect cons
t *a = NULL;
+
const Rec
t *a = NULL;
gint pos, half;
*dx = *dy = 0;
gint pos, half;
*dx = *dy = 0;
@@
-831,7
+831,7
@@
void menu_frame_render(ObMenuFrame *self)
static void menu_frame_update(ObMenuFrame *self)
{
GList *mit, *fit;
static void menu_frame_update(ObMenuFrame *self)
{
GList *mit, *fit;
-
Rect cons
t *a;
+
const Rec
t *a;
gint h;
menu_pipe_execute(self->menu);
gint h;
menu_pipe_execute(self->menu);