Method

PurpleCommandManagerremove

Declaration [src]

gboolean
purple_command_manager_remove (
  PurpleCommandManager* manager,
  const char* name,
  const char* source
)

Description [src]

Attempts to remove the first command with name and source from manager.

Parameters

name

Type: const char*

The name of the command.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
source

Type: const char*

The source of the command.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if a command is found and removed, otherwise FALSE.