forked from e16/e16
1
0
Fork 0

Trivial cleanups.

SVN revision: 22818
This commit is contained in:
Kim Woelders 2006-05-21 18:44:18 +00:00
parent 23a891cbf8
commit 307afc96bd
8 changed files with 9 additions and 10 deletions

View File

@ -75,8 +75,6 @@ ecore_x_icccm_state_set_withdrawn(Ecore_X_Window win)
#else /* USE_ECORE_X */
extern Display *disp;
/*
* General stuff
*/

View File

@ -259,6 +259,9 @@ EImageTile(EImage * im, EImage * tile, int blend, int tw, int th,
int x, y, tx, ty, ww, hh;
int sw, sh;
if (tw <= 0 || th <= 0)
return;
imlib_context_set_image(tile);
sw = imlib_image_get_width();
sh = imlib_image_get_height();

View File

@ -105,7 +105,6 @@ void EHintsSetInfoOnAll(void);
void ICCCM_Init(void);
void ICCCM_ProcessClientMessage(XClientMessageEvent * event);
void ICCCM_GetTitle(EWin * ewin, Atom atom_change);
void ICCCM_GetColormap(EWin * ewin);
void ICCCM_Delete(const EWin * ewin);
void ICCCM_Save(const EWin * ewin);
void ICCCM_Iconify(const EWin * ewin);

View File

@ -92,7 +92,7 @@ ICCCM_GetTitle(EWin * ewin, Atom atom_change)
EwinChange(ewin, EWIN_CHANGE_NAME);
}
void
static void
ICCCM_GetColormap(EWin * ewin)
{
XWindowAttributes xwa;

View File

@ -65,7 +65,7 @@ static struct
static int sound_fd = -1;
Ecore_List *sound_list = NULL;
static Ecore_List *sound_list = NULL;
#ifdef HAVE_LIBESD
static Sample *

View File

@ -24,7 +24,6 @@
#include "E.h"
#include "eimage.h"
#include "tclass.h"
#include "xwin.h"
#include <Imlib2.h>
struct _efont

View File

@ -64,7 +64,7 @@ struct _xwin
int depth;
Colormap cmap;
Pixmap bgpmap;
int bgcol;
unsigned int bgcol;
};
typedef struct _xwin EXID; /* FIXME - Remove */
@ -110,7 +110,7 @@ EXidCreate(void)
EXID *xid;
xid = Ecalloc(1, sizeof(EXID));
xid->bgcol = -1;
xid->bgcol = 0xffffffff;
return xid;
}
@ -905,7 +905,7 @@ ESetWindowBackgroundPixmap(Win win, Pixmap pmap)
}
void
ESetWindowBackground(Win win, int col)
ESetWindowBackground(Win win, unsigned int col)
{
EXID *xid = win;

View File

@ -87,7 +87,7 @@ void EGetWindowAttributes(Win win, XWindowAttributes * pxwa);
void EConfigureWindow(Win win, unsigned int mask,
XWindowChanges * wc);
void ESetWindowBackgroundPixmap(Win win, Pixmap pmap);
void ESetWindowBackground(Win win, int col);
void ESetWindowBackground(Win win, unsigned int col);
int ETranslateCoordinates(Win src_w, Win dst_w,
int src_x, int src_y,
int *dest_x_return,