From: Emmanuel Rodriguez Date: Tue, 17 Mar 2009 06:22:23 +0000 (+0100) Subject: Pretend champlain_view_embed_get_view() takes a GtkWidget X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=034dd5fe5ea83347929eb2f6fcf1988fca7b9ce5;p=libchamplain Pretend champlain_view_embed_get_view() takes a GtkWidget --- 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)