gtk/plugins/perl/common/GtkIMHtmlToolbar.xs

Mon, 04 Dec 2006 03:49:34 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Mon, 04 Dec 2006 03:49:34 +0000
changeset 15165
0ff631dfbbca
parent 14629
1a0cd727c121
permissions
-rw-r--r--

[gaim-migrate @ 17889]
Fix some leakage in the perl loader bindings by using a special typedef to handle functions that return g_malloc()-ed values. Thanks to the Gtk-Perl folks for any easy way to do this.
Fix gaim_gtk_sound_get_event_label() to correctly indicate that the retval is a constant.

#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)
	Gaim::GtkUI::IMHtmlToolbar toolbar
	Gtk::Widget imhtml
*/

MODULE = Gaim::GtkUI::IMHtmlToolbar  PACKAGE = Gaim::GtkUI::IMHtmlToolbar  PREFIX = gtk_imhtmltoolbar_
PROTOTYPES: ENABLE

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

mercurial