pidgin/plugins/perl/common/GtkPounce.xs

Sun, 19 Dec 2010 20:30:38 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Sun, 19 Dec 2010 20:30:38 +0000
changeset 31258
1ce5b83274c1
parent 21342
6d1d2ebd9277
permissions
-rw-r--r--

Fix a crash on receiving a file with no preview that I just introduced
with the new functions. The preview pointer/size was left
uninitialized if there wasn't one.

#include "gtkmodule.h"

MODULE = Pidgin::Pounce  PACKAGE = Pidgin::Pounce  PREFIX = pidgin_pounce_
PROTOTYPES: ENABLE

void
pidgin_pounce_editor_show(account, name, cur_pounce)
	Purple::Account account
	const char * name
	Purple::Pounce cur_pounce

MODULE = Pidgin::Pounce  PACKAGE = Pidgin::Pounces  PREFIX = pidgin_pounces_
PROTOTYPES: ENABLE

Purple::Handle
pidgin_pounces_get_handle()

MODULE = Pidgin::Pounce  PACKAGE = Pidgin::Pounces::Manager  PREFIX = pidgin_pounces_manager_
PROTOTYPES: ENABLE

void
pidgin_pounces_manager_show()

void
pidgin_pounces_manager_hide()

mercurial