Remove useless cursor, imageclass and textclass create, delete, and modify ipc functions.

SVN revision: 42462
This commit is contained in:
Kim Woelders 2009-09-13 13:45:39 +00:00
parent d5a3e3783d
commit 6fea34c637
3 changed files with 4 additions and 46 deletions

View File

@ -427,16 +427,7 @@ CursorsIpc(const char *params)
p += len;
}
if (!strncmp(cmd, "add", 3))
{
/* TBD */
IpcPrintf("Not implemented\n");
}
else if (!strncmp(cmd, "del", 3))
{
ECursorDestroy(ECursorFind(prm));
}
else if (!strncmp(cmd, "list", 2))
if (!strncmp(cmd, "list", 2))
{
ECORE_LIST_FOR_EACH(cursor_list, ec) IpcPrintf("%s\n", ec->name);
}
@ -447,8 +438,6 @@ static const IpcItem CursorIpcArray[] = {
CursorsIpc,
"cursor", "csr",
"Cursor functions",
" cursor add <classname> ... Create cursor\n"
" cursor del <classname> Delete cursor\n"
" cursor list Show all cursors\n"}
};
#define N_IPC_FUNCS (sizeof(CursorIpcArray)/sizeof(IpcItem))

View File

@ -1425,12 +1425,7 @@ ImageclassIpc(const char *params)
return;
}
if (!strcmp(param2, "create"))
{
/* Not implemented */
return;
}
else if (!strcmp(param2, "free_pixmap"))
if (!strcmp(param2, "free_pixmap"))
{
Pixmap pmap;
@ -1446,17 +1441,7 @@ ImageclassIpc(const char *params)
return;
}
if (!strcmp(param2, "delete"))
{
#if ENABLE_DESTROY
ImageclassDestroy(ic);
#endif
}
else if (!strcmp(param2, "modify"))
{
/* Not implemented */
}
else if (!strcmp(param2, "get_padding"))
if (!strcmp(param2, "get_padding"))
{
IpcPrintf("%i %i %i %i\n",
ic->padding.left, ic->padding.right,

View File

@ -407,12 +407,6 @@ TextclassIpc(const char *params)
return;
}
if (!strcmp(param2, "create"))
{
/* Not implemented */
return;
}
tc = TextclassFind(param1, 0);
if (!tc)
{
@ -420,17 +414,7 @@ TextclassIpc(const char *params)
return;
}
if (!strcmp(param2, "delete"))
{
#if ENABLE_DESTROY
TextclassDestroy(tc);
#endif
}
else if (!strcmp(param2, "modify"))
{
/* Not implemented */
}
else if (!strcmp(param2, "apply"))
if (!strcmp(param2, "apply"))
{
Window xwin;
Win win;