From: Emmanuele Bassi Date: Tue, 17 Mar 2009 11:31:54 +0000 (+0000) Subject: [view-embed] Use the right types X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=084b3253bcad380e306cfb1f74ccc81047da53bd;p=libchamplain [view-embed] Use the right types When getting the View actor out of the ViewEmbed widget, use the right type for the get_view() method parameter. --- diff --git a/bindings/perl/Champlain/xs/Gtk2ChamplainViewEmbed.xs b/bindings/perl/Champlain/xs/Gtk2ChamplainViewEmbed.xs index 7a5f83e..70df155 100644 --- a/bindings/perl/Champlain/xs/Gtk2ChamplainViewEmbed.xs +++ b/bindings/perl/Champlain/xs/Gtk2ChamplainViewEmbed.xs @@ -6,7 +6,7 @@ MODULE = Gtk2::Champlain::ViewEmbed PACKAGE = Gtk2::Champlain::ViewEmbed PREFI PROTOTYPES: DISABLE -GtkWidget* +GtkWidget * champlain_view_embed_new (class, ChamplainView *view) C_ARGS: view @@ -15,5 +15,5 @@ champlain_view_embed_new (class, ChamplainView *view) # 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) +ChamplainView * +champlain_view_embed_get_view (ChamplainViewEmbed *embed)