gtk/plugins/perl/common/GtkPrivacy.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::Privacy  PACKAGE = Gaim::GtkUI::Privacy  PREFIX = gaim_gtk_
PROTOTYPES: ENABLE

void
gaim_gtk_request_add_permit(account, name)
	Gaim::Account account
	const char * name

void
gaim_gtk_request_add_block(account, name)
	Gaim::Account account
	const char * name

MODULE = Gaim::GtkUI::Privacy  PACKAGE = Gaim::GtkUI::Privacy::Dialog  PREFIX = gaim_gtk_privacy_dialog_
PROTOTYPES: ENABLE

void
gaim_gtk_privacy_dialog_show()

void
gaim_gtk_privacy_dialog_hide()

mercurial