Remove useless cursor, imageclass and textclass create, delete, and modify ipc functions.
SVN revision: 42462
This commit is contained in:
parent
d5a3e3783d
commit
6fea34c637
|
@ -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))
|
||||
|
|
19
src/iclass.c
19
src/iclass.c
|
@ -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,
|
||||
|
|
18
src/tclass.c
18
src/tclass.c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue