aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Adam <tillsan@users.sourceforge.net>2000-12-09 16:51:12 +0000
committerTill Adam <tillsan@users.sourceforge.net>2000-12-09 16:51:12 +0000
commitcad2b0e407ce20acd561b24b85344f66cdc227ca (patch)
treeb9a20e5046de86edc6a702f9b0c37150fe6d0186
parent7b49512f623477dc34b3081cbb61fb4b52cae47e (diff)
downloadenlightenment-cad2b0e407ce20acd561b24b85344f66cdc227ca.tar.gz
enlightenment-cad2b0e407ce20acd561b24b85344f66cdc227ca.tar.xz
enlightenment-cad2b0e407ce20acd561b24b85344f66cdc227ca.zip
just a few casts and protos to shut up some warnings
SVN revision: 3969
-rw-r--r--src/border.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/border.c b/src/border.c
index e59d5dabd..2ee027151 100644
--- a/src/border.c
+++ b/src/border.c
@@ -15,6 +15,13 @@ static int border_mouse_buttons = 0;
static Eevent *current_ev = NULL;
+/*protos to shut up the compiler :) */
+static void e_cb_border_mouse_down(E_Border *b, Eevent *e);
+static void e_cb_border_mouse_up(E_Border *b, Eevent *e);
+static void e_cb_border_mouse_move(E_Border *b, Eevent *e);
+static void e_cb_border_mouse_in(E_Border *b, Eevent *e);
+static void e_cb_border_mouse_out(E_Border *b, Eevent *e);
+
/* what to dowhen we're idle */
static void
e_idle(void *data)
@@ -49,7 +56,7 @@ e_map_request(Eevent * ev)
{
E_Border *b;
- printf("map request %x\n", e->win);
+ printf("map request %x\n", (int) e->win);
b = e_border_find_by_window(e->win);
if (!b)
{
@@ -176,7 +183,7 @@ e_unmap(Eevent * ev)
if (b->ignore_unmap > 0) b->ignore_unmap--;
else
{
- printf("unmap %x\n", e->win);
+ printf("unmap %x\n",(int) e->win);
e_action_stop_by_object(b, NULL,
mouse_win_x, mouse_win_y,
border_mouse_x, border_mouse_y);
@@ -209,7 +216,7 @@ e_destroy(Eevent * ev)
b = e_border_find_by_window(e->win);
if (b)
{
- printf("destroy %x\n", e->win);
+ printf("destroy %x\n", (int) e->win);
if (b->win.client == e->win)
{
e_action_stop_by_object(b, NULL,
@@ -936,7 +943,7 @@ e_border_adopt(Window win, int use_client_pos)
{
E_Border *b;
- printf("adopt %x\n", win);
+ printf("adopt %x\n", (int) win);
/* create the struct */
b = e_border_new();
/* set the right event on the client */
@@ -1748,7 +1755,7 @@ e_border_adopt_children(Window win)
{
E_Border *b;
- printf("manage %x\n", wins[i]);
+ printf("manage %x\n", (int) wins[i]);
b = e_border_adopt(wins[i], 1);
{
int pl, pr, pt, pb;