gtk/plugins/perl/common/GtkSound.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
child 14780
f8d1200df068
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::Sound  PACKAGE = Gaim::GtkUI::Sound  PREFIX = gaim_gtk_sound_
PROTOTYPES: ENABLE

const char *
gaim_gtk_sound_get_event_option(event)
	Gaim::SoundEventID event

char *
gaim_gtk_sound_get_event_label(event)
	Gaim::SoundEventID event

void *
gaim_gtk_sound_get_handle()

mercurial