Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
E.h actions.c borders.c evhandlers.c
Log Message:
Get rid of GetEwin() which wasn't used consistently anyway.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -3 -r1.163 -r1.164
--- E.h 14 Dec 2003 17:37:46 -0000 1.163
+++ E.h 19 Dec 2003 00:05:35 -0000 1.164
@@ -1779,7 +1779,6 @@
void DetermineEwinFloat(EWin * ewin, int dx, int dy);
void SetEInfoOnAll(void);
EWin *GetEwinPointerInClient(void);
-EWin *GetEwin(void);
EWin *GetFocusEwin(void);
void SlideEwinTo(EWin * ewin, int fx, int fy, int tx, int ty,
int speed);
@@ -1940,7 +1939,6 @@
void AddToAction(Action * act, int id, void *params);
void AddAction(ActionClass * a, Action * act);
int EventAclass(XEvent * ev, ActionClass * a);
-int handleAction(ActionType * Action);
int spawnMenu(void *params);
int hideMenu(void *params);
int doNothing(void *params);
@@ -2108,7 +2106,6 @@
void CreateStartupDisplay(char start);
/* tclass.c */
-
TextClass *CreateTclass(void);
void FreeTextState(TextState * ts);
void DeleteTclass(TextClass * t);
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/actions.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -3 -r1.120 -r1.121
--- actions.c 14 Dec 2003 17:24:33 -0000 1.120
+++ actions.c 19 Dec 2003 00:05:36 -0000 1.121
@@ -28,6 +28,8 @@
static char mode_action_destroy = 0;
+static int handleAction(ActionType * Action);
+
ActionClass *
CreateAclass(char *name)
{
@@ -359,7 +361,7 @@
{
EWin *ewin;
- ewin = GetEwin();
+ ewin = mode.ewin;
if ((mode.movemode == 0) && (ewin) && (mode.mode == MODE_MOVE))
DetermineEwinFloat(ewin, 0, 0);
}
@@ -483,7 +485,7 @@
EDBUG_RETURN(val);
}
-int
+static int
handleAction(ActionType * Action)
{
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/borders.c,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -3 -r1.109 -r1.110
--- borders.c 14 Dec 2003 17:24:33 -0000 1.109
+++ borders.c 19 Dec 2003 00:05:36 -0000 1.110
@@ -187,13 +187,6 @@
}
EWin *
-GetEwin(void)
-{
- EDBUG(4, "GetEwin");
- EDBUG_RETURN(mode.ewin);
-}
-
-EWin *
GetFocusEwin(void)
{
EDBUG(4, "GetFocusEwin");
@@ -218,7 +211,7 @@
}
}
if (mode.mode != MODE_NONE)
- EDBUG_RETURN(GetEwin());
+ EDBUG_RETURN(mode.ewin);
if (mode.focuswin)
EDBUG_RETURN(mode.focuswin);
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/evhandlers.c,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -3 -r1.130 -r1.131
--- evhandlers.c 14 Dec 2003 17:24:34 -0000 1.130
+++ evhandlers.c 19 Dec 2003 00:05:36 -0000 1.131
@@ -1561,7 +1561,7 @@
if ((mode.place) && (mode.mode == MODE_MOVE))
{
- ewin = GetEwin();
+ ewin = mode.ewin;
if (ewin)
{
gwins =
@@ -1616,7 +1616,7 @@
wasmovres = 1;
break;
case MODE_MOVE:
- ewin = GetEwin();
+ ewin = mode.ewin;
if (ewin)
{
gwins =
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs