[gtkmm] DeviceManager: Fixed a typo to avoid duplicate GType registration.



commit 918b76b681f4f8da09dc0f55cba79a2a04b59663
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Aug 5 12:53:38 2010 +0200

    DeviceManager: Fixed a typo to avoid duplicate GType registration.
    
    * gdk/src/devicemanager.hg: Don't derive from the GdkDevice type. Use
    GdkDeviceManager instead.

 ChangeLog                |    7 +++++++
 gdk/src/devicemanager.hg |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1494803..733bddf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-08-05  Murray Cumming  <murrayc murrayc-x61>
+
+	DeviceManager: Fixed a typo to avoid duplicate GType registration.
+
+	* gdk/src/devicemanager.hg: Don't derive from the GdkDevice type. Use 
+	GdkDeviceManager instead.
+
 2010-08-04  Armin Burgmeier  <armin arbur net>
 
 	Add missing include paths to MSVC property sheets.
diff --git a/gdk/src/devicemanager.hg b/gdk/src/devicemanager.hg
index b41a6da..fbf8894 100644
--- a/gdk/src/devicemanager.hg
+++ b/gdk/src/devicemanager.hg
@@ -34,7 +34,7 @@ namespace Gdk
  */
 class DeviceManager : public Glib::Object
 {
-  _CLASS_GOBJECT(DeviceManager,GdkDeviceManager,GDK_DEVICE,Glib::Object,GObject)
+  _CLASS_GOBJECT(DeviceManager,GdkDeviceManager,GDK_DEVICE_MANAGER,Glib::Object,GObject)
 
 protected:
   _CTOR_DEFAULT()



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