]> err.no Git - libchamplain/commitdiff
[view-embed] Use the right types
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 17 Mar 2009 11:31:54 +0000 (11:31 +0000)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Wed, 25 Mar 2009 08:06:19 +0000 (10:06 +0200)
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

index 7a5f83e1c29a922014b2b6e480305cf55c054f96..70df1557991eae34e324b7452a58b5d10bd072ad 100644 (file)
@@ -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)