[gtkmm] Add GtkSelectionData to gtk_extra_objects.defs



commit 15c9c154c3770abfa67b45b7b9871910e01eab89
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Sun Dec 7 13:43:00 2014 +0100

    Add GtkSelectionData to gtk_extra_objects.defs
    
    * gtk/src/gtk_extra_objects.defs: Add GtkSelectionData.

 gtk/src/gtk_extra_objects.defs |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/gtk/src/gtk_extra_objects.defs b/gtk/src/gtk_extra_objects.defs
index 220d473..f7a79a3 100644
--- a/gtk/src/gtk_extra_objects.defs
+++ b/gtk/src/gtk_extra_objects.defs
@@ -1,9 +1,9 @@
-; These define-object declarations were not generated by h2defs.py
-; because it looks for the SomethingClass declaration too, but that is often
-; hidden.
-; However, it is needed by the documentation generation, which needs to
-; know what objects exist, so it can guess how to break apart C function names
-; that are mentioned in documentation text.
+; These define-object declarations were not generated by h2defs.py,
+; because it looks for the definitions of Something and SomethingClass,
+; but sometimes they are hidden, or SomethingClass does not exist.
+; However, define-object declarations are needed by the documentation generation,
+; which needs to know what objects exist, so it can guess how to break apart
+; C function names that are mentioned in documentation text.
 ; (DocsParser.pm:substitute_function(), which uses GtkDefs.pm:lookup_object().)
 
 (define-object Actionable
@@ -84,7 +84,6 @@
   (gtype-id "GTK_TYPE_PAGE_SETUP")
 )
 
-; For some reason, the docs generator needs this extra hint:
 (define-object PlacesSidebar
   (in-module "Gtk")
   (c-name "GtkPlacesSidebar")
@@ -122,6 +121,12 @@
   (gtype-id "GTK_TYPE_RECENT_INFO")
 )
 
+(define-object SelectionData
+  (in-module "Gtk")
+  (c-name "GtkSelectionData")
+  (gtype-id "GTK_TYPE_SELECTION_DATA")
+)
+
 (define-object TargetList
   (in-module "Gtk")
   (c-name "GtkTargetList")


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