Mon, 18 Sep 2006 18:14:50 +0000
[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" MODULE = Gaim::GtkUI::Themes PACKAGE = Gaim::GtkUI::Themes PREFIX = gaim_gtkthemes_ PROTOTYPES: ENABLE void gaim_gtkthemes_init() gboolean gaim_gtkthemes_smileys_disabled() void gaim_gtkthemes_smiley_theme_probe() void gaim_gtkthemes_load_smiley_theme(file, load) const char * file gboolean load void gaim_gtkthemes_get_proto_smileys(id) const char * id PREINIT: GSList *l; PPCODE: for (l = gaim_gtkthemes_get_proto_smileys(id); l != NULL; l = l->next) { XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::GtkUI::IMHtml::Smiley"))); }