Mercurial > pidgin
view gtk/plugins/perl/common/GtkMenuTray.xs @ 15103:53f7a4a8ad2a
[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.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 04 Dec 2006 03:49:34 +0000 |
parents | d6eae5115b31 |
children |
line wrap: on
line source
#include "gtkmodule.h" /* This can't work at the moment since I don't have a typemap for Gtk::Widget. * I thought about using the one from libgtk2-perl but wasn't sure how to go * about doing that. Gtk::Widget gaim_gtk_menu_tray_new() Gtk::Widget gaim_gtk_menu_tray_get_box(menu_tray) Gaim::GtkUI::MenuTray menu_tray void gaim_gtk_menu_tray_append(menu_tray, widget, tooltip) Gaim::GtkUI::MenuTray menu_tray Gtk::Widget widget const char * tooltip void gaim_gtk_menu_tray_prepend(menu_tray, widget, tooltip) Gaim::GtkUI::MenuTray menu_tray Gtk::Widget widget const char * tooltip void gaim_gtk_menu_tray_set_tooltip(menu_tray, widget, tooltip) Gaim::GtkUI::MenuTray menu_tray Gtk::Widget widget const char * tooltip */ MODULE = Gaim::GtkUI::MenuTray PACKAGE = Gaim::GtkUI::MenuTray PREFIX = gaim_gtk_menu_tray PROTOTYPES: ENABLE