Trivial cleanups.

SVN revision: 34939
This commit is contained in:
Kim Woelders 2008-06-28 18:54:59 +00:00
parent e148666eca
commit 2d2bd07136
4 changed files with 12 additions and 2 deletions

View File

@ -906,7 +906,9 @@ ImageclassGetImageBlended(ImageClass * ic, Win win, int w, int h, int active,
bg = EImageCreateScaled(im, 0, 0, 0, 0, w, h);
#ifdef ENABLE_TRANSPARENCY
done:
#endif
EImageFree(im);
return bg;

View File

@ -101,7 +101,7 @@ set_save_props(SmcConn smc_conn, int master_flag)
SmProp styleProp;
SmProp priorityProp;
SmProp *props[7];
char bufs[32], bufm[32], bufx[32];
char bufs[32], bufm[32];
if (EDebug(EDBUG_TYPE_SESSION))
Eprintf("set_save_props\n");
@ -192,6 +192,8 @@ set_save_props(SmcConn smc_conn, int master_flag)
#ifdef USE_EXT_INIT_WIN
if (restarting)
{
char bufx[32];
Esnprintf(bufx, sizeof(bufx), "%#lx", new_init_win_ext);
restartVal[n++].value = (char *)"-X";
restartVal[n++].value = bufx;

View File

@ -729,7 +729,9 @@ static const DialogDef *dialogs[] = {
&DlgRemember,
&DlgFx,
&DlgBackground,
#ifdef ENABLE_THEME_TRANSPARENCY
&DlgThemeTrans,
#endif
#if USE_COMPOSITE
&DlgComposite,
#endif

View File

@ -23,10 +23,14 @@
*/
#define DECLARE_WIN 1
#include "E.h"
#include "edebug.h"
#include "util.h"
#include "xwin.h"
#include <string.h>
#include <unistd.h>
#ifdef USE_ECORE_X
#include <Ecore_X.h>
#endif
#include "xwin.h"
#include <X11/Xatom.h>
#include <X11/Xutil.h>
#include <X11/Xresource.h>