forked from e16/e16
1
0
Fork 0
SVN revision: 51490
This commit is contained in:
Kim Woelders 2010-08-21 14:39:55 +00:00
parent f287759d3e
commit 7aab9bea4b
5 changed files with 12 additions and 11 deletions

View File

@ -577,7 +577,8 @@ BackgroundRealize(Background * bg, Win win, Drawable draw, unsigned int rw,
if (!draw)
draw = WinGetXwin(win);
hasbg = !!bg->bg.im;hasfg = !!bg->top.im;
hasbg = ! !bg->bg.im;
hasfg = ! !bg->top.im;
if (!hasbg && !hasfg)
{

View File

@ -1008,7 +1008,7 @@ ecore_x_netwm_name_get(Ecore_X_Window win, char **name)
s = _ecore_x_window_prop_string_utf8_get(win, ECORE_X_ATOM_NET_WM_NAME);
*name = s;
return !!s;
return ! !s;
}
void
@ -1027,7 +1027,7 @@ ecore_x_netwm_visible_name_get(Ecore_X_Window win, char **name)
ECORE_X_ATOM_NET_WM_VISIBLE_NAME);
*name = s;
return !!s;
return ! !s;
}
void
@ -1045,7 +1045,7 @@ ecore_x_netwm_icon_name_get(Ecore_X_Window win, char **name)
s = _ecore_x_window_prop_string_utf8_get(win, ECORE_X_ATOM_NET_WM_ICON_NAME);
*name = s;
return !!s;
return ! !s;
}
void
@ -1065,7 +1065,7 @@ ecore_x_netwm_visible_icon_name_get(Ecore_X_Window win, char **name)
ECORE_X_ATOM_NET_WM_VISIBLE_ICON_NAME);
*name = s;
return !!s;
return ! !s;
}
void
@ -1119,7 +1119,7 @@ ecore_x_netwm_startup_id_get(Ecore_X_Window win, char **id)
s = _ecore_x_window_prop_string_utf8_get(win, ECORE_X_ATOM_NET_STARTUP_ID);
*id = s;
return !!s;
return ! !s;
}
#endif /* USE_ECORE_X */

View File

@ -1168,7 +1168,7 @@ MenusShowNamed(const char *name, const char *param)
int
MenusActive(void)
{
return !!Mode_menus.first;
return ! !Mode_menus.first;
}
static void

View File

@ -706,11 +706,11 @@ _DlgFillSnap(Dialog * d, DItem * table, void *data)
{
sd->match.name = 1;
sd->match.clss = 1;
sd->match.role = !!ewin->icccm.wm_role;
sd->match.role = ! !ewin->icccm.wm_role;
}
else
{
sd->match.title = !!EwinGetIcccmName(ewin);
sd->match.title = ! !EwinGetIcccmName(ewin);
}
}
@ -1601,7 +1601,7 @@ static void
_SnapShow(void *data, void *prm)
{
Snapshot *sn = (Snapshot *) data;
int full = !!prm;
int full = ! !prm;
char buf[FILEPATH_LEN_MAX];
const char *name;

View File

@ -281,7 +281,7 @@ SoundFree(const char *name)
sclass = SclassFind(name);
SclassDestroy(sclass);
return !!sclass;
return ! !sclass;
}
static void