pidgin/plugins/perl/common/GtkAccount.xs

Wed, 27 Aug 2008 14:12:19 +0000

author
Vivien Bernet-Rollande <scrouaf@soc.pidgin.im>
date
Wed, 27 Aug 2008 14:12:19 +0000
branch
soc.2008.masterpassword
changeset 34015
c16d341cbf8c
parent 15899
75f0041f72b8
child 18068
b6554e3c8224
child 34587
a3bc28bb4ef5
permissions
-rw-r--r--

Fixed a likely cause for the heap corruption in ok_account_prefs_cb(), as well
as a memory leak. It was because I freed the original instead of the copy.
See diff for details.

#include "gtkmodule.h"

MODULE = Pidgin::Account  PACKAGE = Pidgin::Account  PREFIX = pidgin_account_
PROTOTYPES: ENABLE

Purple::Handle
pidgin_account_get_handle()

MODULE = Pidgin::Account  PACKAGE = Pidgin::Account::Dialog  PREFIX = pidgin_account_dialog_
PROTOTYPES: ENABLE

void
pidgin_account_dialog_show(type, account)
	Pidgin::Account::Dialog::Type type
	Purple::Account account

MODULE = Pidgin::Account  PACKAGE = Pidgin::Account::Window  PREFIX = pidgin_accounts_window_
PROTOTYPES: ENABLE

void
pidgin_accounts_window_show()

void
pidgin_accounts_window_hide()

mercurial