gtk/plugins/perl/common/GtkIMHtmlToolbar.xs

Mon, 18 Sep 2006 18:14:50 +0000

author
Etan Reisner <deryni@pidgin.im>
date
Mon, 18 Sep 2006 18:14:50 +0000
changeset 14649
38e6b75e6769
parent 14629
1a0cd727c121
permissions
-rw-r--r--

[gaim-migrate @ 17311]
I couldn't see a reason why we needed all of gaim_gtk_roomlist_dialog_new,
gaim_gtk_roomlist_dialog_new_with_account, gaim_gtk_roomlist_dialog_show, and
gaim_gtk_roomlist_dialog_show_with_account especially considering the _show
functions basically just called the _new functions.

So I whittled us down to just _show and _show_with_account being visible. And
since nothing outside GtkRoomlist.c was using the GaimGtkRoomlistDialog struct
I made that private too.

#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