[gtkmm] Regenerate gdk .defs



commit 5768723fe398fead03ce10e7dee4038c2ac265bd
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Nov 20 12:45:15 2015 +0100

    Regenerate gdk .defs

 gdk/src/gdk_enums.defs          |    4 +++-
 gdk/src/gdk_methods.defs        |   16 ++++++++++++++++
 gdk/src/gdk_pixbuf_enums.defs   |    4 +++-
 gdk/src/gdk_pixbuf_methods.defs |    1 +
 4 files changed, 23 insertions(+), 2 deletions(-)
---
diff --git a/gdk/src/gdk_enums.defs b/gdk/src/gdk_enums.defs
index b047410..51fbb78 100644
--- a/gdk/src/gdk_enums.defs
+++ b/gdk/src/gdk_enums.defs
@@ -757,7 +757,8 @@
 ;;   GDK_GL_ALWAYS                 = 1 << 1,
 ;;   GDK_GL_SOFTWARE_DRAW_GL       = 1 << 2,
 ;;   GDK_GL_SOFTWARE_DRAW_SURFACE  = 1 << 3,
-;;   GDK_GL_TEXTURE_RECTANGLE      = 1 << 4
+;;   GDK_GL_TEXTURE_RECTANGLE      = 1 << 4,
+;;   GDK_GL_LEGACY                 = 1 << 5
 ;; } GdkGLFlags;
 
 (define-flags-extended GLFlags
@@ -769,6 +770,7 @@
     '("software-draw-gl" "GDK_GL_SOFTWARE_DRAW_GL" "1 << 2")
     '("software-draw-surface" "GDK_GL_SOFTWARE_DRAW_SURFACE" "1 << 3")
     '("texture-rectangle" "GDK_GL_TEXTURE_RECTANGLE" "1 << 4")
+    '("legacy" "GDK_GL_LEGACY" "1 << 5")
   )
 )
 
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index d823444..fd170fc 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -357,6 +357,7 @@
     '("software-draw-gl" "GDK_GL_SOFTWARE_DRAW_GL")
     '("software-draw-surface" "GDK_GL_SOFTWARE_DRAW_SURFACE")
     '("texture-rectangle" "GDK_GL_TEXTURE_RECTANGLE")
+    '("legacy" "GDK_GL_LEGACY")
   )
 )
 
@@ -2512,6 +2513,12 @@
   )
 )
 
+(define-method is_legacy
+  (of-object "GdkGLContext")
+  (c-name "gdk_gl_context_is_legacy")
+  (return-type "gboolean")
+)
+
 (define-method set_required_version
   (of-object "GdkGLContext")
   (c-name "gdk_gl_context_set_required_version")
@@ -3249,6 +3256,15 @@
   )
 )
 
+(define-method equal
+  (of-object "GdkRectangle")
+  (c-name "gdk_rectangle_equal")
+  (return-type "gboolean")
+  (parameters
+    '("const-GdkRectangle*" "rect2")
+  )
+)
+
 (define-function gdk_rectangle_get_type
   (c-name "gdk_rectangle_get_type")
   (return-type "GType")
diff --git a/gdk/src/gdk_pixbuf_enums.defs b/gdk/src/gdk_pixbuf_enums.defs
index 504676e..74deaeb 100644
--- a/gdk/src/gdk_pixbuf_enums.defs
+++ b/gdk/src/gdk_pixbuf_enums.defs
@@ -41,7 +41,8 @@
 ;;         GDK_PIXBUF_ERROR_UNKNOWN_TYPE,
 ;;         /* unsupported operation (load, save) for image type */
 ;;         GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION,
-;;         GDK_PIXBUF_ERROR_FAILED
+;;         GDK_PIXBUF_ERROR_FAILED,
+;;         GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION
 ;; } GdkPixbufError;
 
 (define-enum-extended PixbufError
@@ -54,6 +55,7 @@
     '("unknown-type" "GDK_PIXBUF_ERROR_UNKNOWN_TYPE" "3")
     '("unsupported-operation" "GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION" "4")
     '("failed" "GDK_PIXBUF_ERROR_FAILED" "5")
+    '("incomplete-animation" "GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION" "6")
   )
 )
 
diff --git a/gdk/src/gdk_pixbuf_methods.defs b/gdk/src/gdk_pixbuf_methods.defs
index 1c22765..43903cd 100644
--- a/gdk/src/gdk_pixbuf_methods.defs
+++ b/gdk/src/gdk_pixbuf_methods.defs
@@ -53,6 +53,7 @@
     '("unknown-type" "GDK_PIXBUF_ERROR_UNKNOWN_TYPE")
     '("unsupported-operation" "GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION")
     '("failed" "GDK_PIXBUF_ERROR_FAILED")
+    '("incomplete-animation" "GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION")
   )
 )
 


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