From: Emmanuel Rodriguez Date: Sat, 13 Jun 2009 14:32:37 +0000 (+0200) Subject: Rename Gtk2::Champlain::ViewEmbed to Gtk2::ChamplainEmbed X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92c3ebc590d84201cffe97eaacadc0c1dfe6077e;p=libchamplain Rename Gtk2::Champlain::ViewEmbed to Gtk2::ChamplainEmbed --- diff --git a/bindings/perl/Champlain/MANIFEST b/bindings/perl/Champlain/MANIFEST index fa990d3..65557f1 100644 --- a/bindings/perl/Champlain/MANIFEST +++ b/bindings/perl/Champlain/MANIFEST @@ -19,7 +19,7 @@ xs/ChamplainNetworkMapSource.xs xs/ChamplainTile.xs xs/ChamplainView.xs xs/ChamplainZoomLevel.xs -xs/Gtk2ChamplainViewEmbed.xs +xs/Gtk2ChamplainEmbed.xs t/Champlain.t t/ChamplainBaseMarker.t t/ChamplainLayer.t diff --git a/bindings/perl/Champlain/maps-gtk b/bindings/perl/Champlain/maps-gtk index ca04d71..8fa4824 100644 --- a/bindings/perl/Champlain/maps-gtk +++ b/bindings/perl/Champlain/maps-gtk @@ -1 +1 @@ -CHAMPLAIN_TYPE_VIEW_EMBED ChamplainViewEmbed GtkObject Gtk2::Champlain::ViewEmbed +GTK_CHAMPLAIN_TYPE_EMBED GtkChamplainEmbed GtkObject Gtk2::ChamplainEmbed diff --git a/bindings/perl/Champlain/xs/Gtk2ChamplainEmbed.xs b/bindings/perl/Champlain/xs/Gtk2ChamplainEmbed.xs index 7d2a0ca..a447e36 100644 --- a/bindings/perl/Champlain/xs/Gtk2ChamplainEmbed.xs +++ b/bindings/perl/Champlain/xs/Gtk2ChamplainEmbed.xs @@ -1,14 +1,13 @@ #include "champlain-perl.h" -MODULE = Gtk2::Champlain::ViewEmbed PACKAGE = Gtk2::Champlain::ViewEmbed PREFIX = champlain_view_embed_ +MODULE = Gtk2::ChamplainEmbed PACKAGE = Gtk2::ChamplainEmbed PREFIX = gtk_champlain_embed_ GtkWidget* -champlain_view_embed_new (class, ChamplainView *view) - C_ARGS: view +gtk_champlain_embed_new (class) + C_ARGS: /* No args */ -ChamplainView* -champlain_view_embed_get_view (ChamplainViewEmbed *embed) - +ChamplainView * +gtk_champlain_embed_get_view (GtkChamplainEmbed* embed)