pidgin/plugins/perl/common/GtkIMHtmlToolbar.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 15590
c07dd12bf3f4
child 18068
b6554e3c8224
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"

/* This can't work at the moment since I don't have a typemap for Gtk::Widget.
 * I thought about using the one from libgtk2-perl but wasn't sure how to go
 * about doing that.

Gtk::Widget
gtk_imhtmltoolbar_new()

void
gtk_imhtmltoolbar_attach(toolbar, imhtml)
	Pidgin::IMHtmlToolbar toolbar
	Gtk::Widget imhtml
*/

MODULE = Pidgin::IMHtmlToolbar  PACKAGE = Pidgin::IMHtmlToolbar  PREFIX = gtk_imhtmltoolbar_
PROTOTYPES: ENABLE

void
gtk_imhtmltoolbar_associate_smileys(toolbar, proto_id)
	Pidgin::IMHtmlToolbar toolbar
	const char * proto_id

mercurial