gtk/plugins/perl/common/GtkDialogs.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"

MODULE = Gaim::GtkUI::Dialogs  PACKAGE = Gaim::GtkUI::Dialogs  PREFIX = gaim_gtkdialogs_
PROTOTYPES: ENABLE

void
gaim_gtkdialogs_destroy_all()

void
gaim_gtkdialogs_about()

void
gaim_gtkdialogs_im()

void
gaim_gtkdialogs_im_with_user(account, username)
	Gaim::Account account
	const char * username

void
gaim_gtkdialogs_info()

void
gaim_gtkdialogs_log()

void
gaim_gtkdialogs_alias_contact(contact)
	Gaim::BuddyList::Contact contact

void
gaim_gtkdialogs_alias_buddy(buddy)
	Gaim::BuddyList::Buddy buddy

void
gaim_gtkdialogs_alias_chat(chat)
	Gaim::BuddyList::Chat chat

void
gaim_gtkdialogs_remove_buddy(buddy)
	Gaim::BuddyList::Buddy buddy

void
gaim_gtkdialogs_remove_group(group)
	Gaim::BuddyList::Group group

void
gaim_gtkdialogs_remove_chat(chat)
	Gaim::BuddyList::Chat chat

void
gaim_gtkdialogs_remove_contact(contact)
	Gaim::BuddyList::Contact contact

mercurial