From 034dd5fe5ea83347929eb2f6fcf1988fca7b9ce5 Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Tue, 17 Mar 2009 07:22:23 +0100 Subject: [PATCH] Pretend champlain_view_embed_get_view() takes a GtkWidget --- bindings/perl/Champlain/xs/Gtk2ChamplainViewEmbed.xs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bindings/perl/Champlain/xs/Gtk2ChamplainViewEmbed.xs b/bindings/perl/Champlain/xs/Gtk2ChamplainViewEmbed.xs index 9cfbc1a..7a5f83e 100644 --- a/bindings/perl/Champlain/xs/Gtk2ChamplainViewEmbed.xs +++ b/bindings/perl/Champlain/xs/Gtk2ChamplainViewEmbed.xs @@ -11,5 +11,9 @@ champlain_view_embed_new (class, ChamplainView *view) C_ARGS: view -#ChamplainView* -#champlain_view_embed_get_view (ChamplainViewEmbed *embed) +# FIXME the parameter embed should be of type ChamplainViewEmbed. The bindings +# fail to generate the proper C code and leave unresolved symbols when +# using ChamplainViewEmbed. In order to provide 100% coverage of the API +# a GtkWidget has to be passed instead. +ChamplainView* +champlain_view_embed_get_view (GtkWidget *embed) -- 2.39.5