forked from enlightenment/efl
return immediatly if we set NULL for the title of a window
i don't know what to do for ecore_x_icccm_name_class_set(). Should i return immediatly if one of the name or class is NULL ? SVN revision: 43246
This commit is contained in:
parent
a59b9655b2
commit
198b55badb
|
@ -413,6 +413,8 @@ ecore_x_icccm_title_set(Ecore_X_Window win, const char *t)
|
|||
XTextProperty xprop;
|
||||
int ret;
|
||||
|
||||
if (!t) return;
|
||||
|
||||
xprop.value = NULL;
|
||||
#ifdef X_HAVE_UTF8_STRING
|
||||
list[0] = strdup(t);
|
||||
|
|
Loading…
Reference in New Issue