From 92c3ebc590d84201cffe97eaacadc0c1dfe6077e Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Sat, 13 Jun 2009 16:32:37 +0200 Subject: [PATCH] Rename Gtk2::Champlain::ViewEmbed to Gtk2::ChamplainEmbed --- bindings/perl/Champlain/MANIFEST | 2 +- bindings/perl/Champlain/maps-gtk | 2 +- bindings/perl/Champlain/xs/Gtk2ChamplainEmbed.xs | 11 +++++------ 3 files changed, 7 insertions(+), 8 deletions(-) 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) -- 2.39.5