[gtk+/xi2] Add GtkDeviceGroup methods to gtk.symbols



commit 53dfa46d333544d8b6136e484941a75e276e24fe
Author: Carlos Garnacho <carlos gnome org>
Date:   Thu Jan 21 02:55:46 2010 +0100

    Add GtkDeviceGroup methods to gtk.symbols

 gtk/gtk.symbols      |   12 ++++++++++++
 gtk/gtkdevicegroup.c |    4 ++++
 gtk/gtkdevicegroup.h |    2 +-
 3 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols
index 0b617bc..b2e954c 100644
--- a/gtk/gtk.symbols
+++ b/gtk/gtk.symbols
@@ -5231,6 +5231,18 @@ gtk_widget_set_can_focus
 gtk_widget_get_can_focus
 gtk_widget_get_support_multidevice
 gtk_widget_set_support_multidevice
+gtk_widget_create_device_group
+gtk_widget_remove_device_group
+gtk_widget_get_group_for_device
+#endif
+#endif
+
+#if IN_HEADER(__GTK_DEVICE_GROUP_H__)
+#if IN_FILE(__GTK_DEVICE_GROUP_C__)
+gtk_device_group_get_type G_GNUC_CONST
+gtk_device_group_add_device
+gtk_device_group_remove_device
+gtk_device_group_get_devices
 #endif
 #endif
 
diff --git a/gtk/gtkdevicegroup.c b/gtk/gtkdevicegroup.c
index fe5c431..1e0d659 100644
--- a/gtk/gtkdevicegroup.c
+++ b/gtk/gtkdevicegroup.c
@@ -20,6 +20,7 @@
 #include "config.h"
 #include "gtkintl.h"
 #include "gtkdevicegroup.h"
+#include "gtkalias.h"
 
 /**
  * SECTION:gtkdevicegroup
@@ -203,3 +204,6 @@ gtk_device_group_get_devices (GtkDeviceGroup *group)
 
   return priv->devices;
 }
+
+#define __GTK_DEVICE_GROUP_C__
+#include "gtkaliasdef.c"
diff --git a/gtk/gtkdevicegroup.h b/gtk/gtkdevicegroup.h
index 1ccbcee..c09be77 100644
--- a/gtk/gtkdevicegroup.h
+++ b/gtk/gtkdevicegroup.h
@@ -68,4 +68,4 @@ GList * gtk_device_group_get_devices    (GtkDeviceGroup  *group);
 
 G_END_DECLS
 
-#endif /* __GTK_POINTER_GROUP_H__ */
+#endif /* __GTK_DEVICE_GROUP_H__ */



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