Mon, 04 Dec 2006 03:49:34 +0000
[gaim-migrate @ 17889]
Fix some leakage in the perl loader bindings by using a special typedef to handle functions that return g_malloc()-ed values. Thanks to the Gtk-Perl folks for any easy way to do this.
Fix gaim_gtk_sound_get_event_label() to correctly indicate that the retval is a constant.
| 14478 | 1 | #include "gtkmodule.h" |
| 2 | ||
| 14629 | 3 | MODULE = Gaim::GtkUI::Sound PACKAGE = Gaim::GtkUI::Sound PREFIX = gaim_gtk_sound_ |
| 14478 | 4 | PROTOTYPES: ENABLE |
| 5 | ||
| 6 | const char * | |
| 7 | gaim_gtk_sound_get_event_option(event) | |
| 8 | Gaim::SoundEventID event | |
| 9 | ||
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14780
diff
changeset
|
10 | const char * |
| 14478 | 11 | gaim_gtk_sound_get_event_label(event) |
| 12 | Gaim::SoundEventID event | |
| 13 | ||
| 14780 | 14 | Gaim::Handle |
| 14478 | 15 | gaim_gtk_sound_get_handle() |