From 084b3253bcad380e306cfb1f74ccc81047da53bd Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 17 Mar 2009 11:31:54 +0000 Subject: [PATCH] [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. --- bindings/perl/Champlain/xs/Gtk2ChamplainViewEmbed.xs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.39.5