[libchamplainmm] champlain-gtk: Move Embed widget to namespace GtkChamplain



commit f0d26afa93c9035fd6719432e1036e400fb5f76b
Author: Juan R. GarcĂ­a Blanco <juanrgar gmail com>
Date:   Sat May 31 13:59:51 2014 +0200

    champlain-gtk: Move Embed widget to namespace GtkChamplain

 champlain-gtk/src/Makefile.am |    2 +-
 champlain-gtk/src/embed.hg    |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/champlain-gtk/src/Makefile.am b/champlain-gtk/src/Makefile.am
index fae245f..abd631f 100644
--- a/champlain-gtk/src/Makefile.am
+++ b/champlain-gtk/src/Makefile.am
@@ -16,7 +16,7 @@
 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 binding_name    = champlainmm-gtk
-wrap_init_flags = --namespace=Gtk --parent_dir=champlainmm-gtk
+wrap_init_flags = --namespace=GtkChamplain --parent_dir=champlainmm-gtk
 codegen_srcdir  = $(top_srcdir)/tools
 
 include $(srcdir)/filelist.am
diff --git a/champlain-gtk/src/embed.hg b/champlain-gtk/src/embed.hg
index 3612143..6396b52 100644
--- a/champlain-gtk/src/embed.hg
+++ b/champlain-gtk/src/embed.hg
@@ -22,7 +22,7 @@
 _DEFS(champlainmm-gtk,champlain-gtk)
 _PINCLUDE(gtkmm/private/alignment_p.h)
 
-namespace Gtk
+namespace GtkChamplain
 {
 
 /** A Gtk+ Widget that embeds a Champlain::View.
@@ -33,9 +33,9 @@ namespace Gtk
  *
  * newin{0,4}
  */
-class ChamplainEmbed : public Gtk::Alignment
+class Embed : public Gtk::Alignment
 {
-  _CLASS_GTKOBJECT(ChamplainEmbed, GtkChamplainEmbed, GTK_CHAMPLAIN_EMBED, Gtk::Alignment, GtkAlignment)
+  _CLASS_GTKOBJECT(Embed, GtkChamplainEmbed, GTK_CHAMPLAIN_EMBED, Gtk::Alignment, GtkAlignment)
 
 public:
   _CTOR_DEFAULT


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]