gtk/plugins/perl/common/GtkConv.xs

Mon, 04 Dec 2006 03:49:34 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Mon, 04 Dec 2006 03:49:34 +0000
changeset 15165
0ff631dfbbca
parent 15127
5fc0e97f117d
permissions
-rw-r--r--

[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.

#include "gtkmodule.h"

MODULE = Gaim::GtkUI::Conversation  PACKAGE = Gaim::GtkUI::Conversation  PREFIX = gaim_gtkconv_
PROTOTYPES: ENABLE

void
gaim_gtkconv_update_buddy_icon(conv)
	Gaim::Conversation conv

void
gaim_gtkconv_switch_active_conversation(conv)
	Gaim::Conversation conv

void
gaim_gtkconv_update_buttons_by_protocol(conv)
	Gaim::Conversation conv

void
gaim_gtkconv_present_conversation(conv)
	Gaim::Conversation conv

Gaim::GtkUI::Conversation::Window
gaim_gtkconv_get_window(conv)
	Gaim::GtkUI::Conversation conv

void
gaim_gtkconv_new(class, conv)
	Gaim::Conversation conv
    C_ARGS:
	conv

gboolean
gaim_gtkconv_is_hidden(gtkconv)
	Gaim::GtkUI::Conversation gtkconv

void
gaim_gtkconv_get_gtkconv(conv)
	Gaim::Conversation conv
PPCODE:
	if (conv != NULL && GAIM_IS_GTK_CONVERSATION(conv))
		XPUSHs(sv_2mortal(gaim_perl_bless_object(
				GAIM_GTK_CONVERSATION(conv),
				"Gaim::GtkUI::Conversation")));

MODULE = Gaim::GtkUI::Conversation  PACKAGE = Gaim::GtkUI::Conversations  PREFIX = gaim_gtk_conversations_
PROTOTYPES: ENABLE

void
gaim_gtk_conversations_find_unseen_list(type, min_state, hidden_only, max_count)
	Gaim::ConversationType type
	Gaim::UnseenState min_state
	gboolean hidden_only
	guint max_count

Gaim::Handle
gaim_gtk_conversations_get_handle()

mercurial