]> err.no Git - libchamplain/commitdiff
Pretend champlain_view_embed_get_view() takes a GtkWidget
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Tue, 17 Mar 2009 06:22:23 +0000 (07:22 +0100)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Wed, 25 Mar 2009 08:06:19 +0000 (10:06 +0200)
bindings/perl/Champlain/xs/Gtk2ChamplainViewEmbed.xs

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