[gtkmm] Regenerate gtk_methods.defs.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Regenerate gtk_methods.defs.
- Date: Wed, 7 Dec 2016 11:00:11 +0000 (UTC)
commit a92579f96e61055c143cb3b5ce192ee56893dff2
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Dec 7 11:02:35 2016 +0100
Regenerate gtk_methods.defs.
gdk/src/gdk_methods.defs | 320 ++++----------------------------------
gdk/src/gdk_pixbuf_methods.defs | 37 -----
2 files changed, 34 insertions(+), 323 deletions(-)
---
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index 45f65af..f3346f7 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -803,17 +803,6 @@
)
)
-(define-function gdk_cairo_set_source_window
- (c-name "gdk_cairo_set_source_window")
- (return-type "none")
- (parameters
- '("cairo_t*" "cr")
- '("GdkWindow*" "window")
- '("gdouble" "x")
- '("gdouble" "y")
- )
-)
-
(define-function gdk_cairo_rectangle
(c-name "gdk_cairo_rectangle")
(return-type "none")
@@ -888,10 +877,6 @@
-;; From gdkconfig.h
-
-
-
;; From gdkcursor.h
(define-function gdk_cursor_get_type
@@ -1900,6 +1885,27 @@
+;; From gdkdrawcontext.h
+
+(define-function gdk_draw_context_get_type
+ (c-name "gdk_draw_context_get_type")
+ (return-type "GType")
+)
+
+(define-method get_display
+ (of-object "GdkDrawContext")
+ (c-name "gdk_draw_context_get_display")
+ (return-type "GdkDisplay*")
+)
+
+(define-method get_window
+ (of-object "GdkDrawContext")
+ (c-name "gdk_draw_context_get_window")
+ (return-type "GdkWindow*")
+)
+
+
+
;; From gdkdrawingcontext.h
(define-function gdk_drawing_context_get_type
@@ -1913,6 +1919,12 @@
(return-type "GdkWindow*")
)
+(define-method get_paint_context
+ (of-object "GdkDrawingContext")
+ (c-name "gdk_drawing_context_get_paint_context")
+ (return-type "GdkDrawContext*")
+)
+
(define-method get_clip
(of-object "GdkDrawingContext")
(c-name "gdk_drawing_context_get_clip")
@@ -1933,235 +1945,6 @@
-;; From gdkenumtypes.h
-
-(define-function gdk_cursor_type_get_type
- (c-name "gdk_cursor_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_input_source_get_type
- (c-name "gdk_input_source_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_input_mode_get_type
- (c-name "gdk_input_mode_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_device_type_get_type
- (c-name "gdk_device_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_device_pad_feature_get_type
- (c-name "gdk_device_pad_feature_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_device_tool_type_get_type
- (c-name "gdk_device_tool_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_drag_action_get_type
- (c-name "gdk_drag_action_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_drag_cancel_reason_get_type
- (c-name "gdk_drag_cancel_reason_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_drag_protocol_get_type
- (c-name "gdk_drag_protocol_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_filter_return_get_type
- (c-name "gdk_filter_return_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_event_type_get_type
- (c-name "gdk_event_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_visibility_state_get_type
- (c-name "gdk_visibility_state_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_touchpad_gesture_phase_get_type
- (c-name "gdk_touchpad_gesture_phase_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_scroll_direction_get_type
- (c-name "gdk_scroll_direction_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_notify_type_get_type
- (c-name "gdk_notify_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_crossing_mode_get_type
- (c-name "gdk_crossing_mode_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_property_state_get_type
- (c-name "gdk_property_state_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_window_state_get_type
- (c-name "gdk_window_state_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_setting_action_get_type
- (c-name "gdk_setting_action_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_owner_change_get_type
- (c-name "gdk_owner_change_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_subpixel_layout_get_type
- (c-name "gdk_subpixel_layout_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_frame_clock_phase_get_type
- (c-name "gdk_frame_clock_phase_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_prop_mode_get_type
- (c-name "gdk_prop_mode_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_seat_capabilities_get_type
- (c-name "gdk_seat_capabilities_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_byte_order_get_type
- (c-name "gdk_byte_order_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_modifier_type_get_type
- (c-name "gdk_modifier_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_modifier_intent_get_type
- (c-name "gdk_modifier_intent_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_status_get_type
- (c-name "gdk_status_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_grab_status_get_type
- (c-name "gdk_grab_status_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_grab_ownership_get_type
- (c-name "gdk_grab_ownership_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_event_mask_get_type
- (c-name "gdk_event_mask_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_gl_error_get_type
- (c-name "gdk_gl_error_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_window_type_hint_get_type
- (c-name "gdk_window_type_hint_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_axis_use_get_type
- (c-name "gdk_axis_use_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_axis_flags_get_type
- (c-name "gdk_axis_flags_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_visual_type_get_type
- (c-name "gdk_visual_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_window_window_class_get_type
- (c-name "gdk_window_window_class_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_window_type_get_type
- (c-name "gdk_window_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_window_hints_get_type
- (c-name "gdk_window_hints_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_wm_decoration_get_type
- (c-name "gdk_wm_decoration_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_wm_function_get_type
- (c-name "gdk_wm_function_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_gravity_get_type
- (c-name "gdk_gravity_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_anchor_hints_get_type
- (c-name "gdk_anchor_hints_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_window_edge_get_type
- (c-name "gdk_window_edge_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_fullscreen_mode_get_type
- (c-name "gdk_fullscreen_mode_get_type")
- (return-type "GType")
-)
-
-
-
;; From gdkevents.h
(define-function gdk_event_get_type
@@ -2757,6 +2540,12 @@
)
)
+(define-method get_damage
+ (of-object "GdkGLContext")
+ (c-name "gdk_gl_context_get_damage")
+ (return-type "cairo_region_t*")
+)
+
(define-method make_current
(of-object "GdkGLContext")
(c-name "gdk_gl_context_make_current")
@@ -3105,10 +2894,6 @@
-;; From gdkmarshalers.h
-
-
-
;; From gdkmonitor.h
(define-function gdk_monitor_get_type
@@ -3241,18 +3026,6 @@
;; From gdkpixbuf.h
-(define-function gdk_pixbuf_get_from_window
- (c-name "gdk_pixbuf_get_from_window")
- (return-type "GdkPixbuf*")
- (parameters
- '("GdkWindow*" "window")
- '("gint" "src_x")
- '("gint" "src_y")
- '("gint" "width")
- '("gint" "height")
- )
-)
-
(define-function gdk_pixbuf_get_from_surface
(c-name "gdk_pixbuf_get_from_surface")
(return-type "GdkPixbuf*")
@@ -3393,10 +3166,6 @@
-;; From gdkresources.h
-
-
-
;; From gdkrgba.h
(define-function gdk_rgba_get_type
@@ -3786,10 +3555,6 @@
-;; From gdkversionmacros.h
-
-
-
;; From gdkvisual.h
(define-function gdk_visual_get_type
@@ -4310,6 +4075,7 @@
(c-name "gdk_window_begin_draw_frame")
(return-type "GdkDrawingContext*")
(parameters
+ '("GdkDrawContext*" "context")
'("const-cairo_region_t*" "region")
)
)
@@ -4921,20 +4687,6 @@
(return-type "none")
)
-(define-function gdk_window_process_all_updates
- (c-name "gdk_window_process_all_updates")
- (return-type "none")
-)
-
-(define-method process_updates
- (of-object "GdkWindow")
- (c-name "gdk_window_process_updates")
- (return-type "none")
- (parameters
- '("gboolean" "update_children")
- )
-)
-
(define-function gdk_window_constrain_size
(c-name "gdk_window_constrain_size")
(return-type "none")
@@ -5046,7 +4798,3 @@
;; From keyname-table.h
-
-;; From stamp-gdkenumtypes.h
-
-
diff --git a/gdk/src/gdk_pixbuf_methods.defs b/gdk/src/gdk_pixbuf_methods.defs
index be38cbd..693fd8f 100644
--- a/gdk/src/gdk_pixbuf_methods.defs
+++ b/gdk/src/gdk_pixbuf_methods.defs
@@ -859,39 +859,6 @@
-;; From gdk-pixbuf-enum-types.h
-
-(define-function gdk_pixbuf_alpha_mode_get_type
- (c-name "gdk_pixbuf_alpha_mode_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_colorspace_get_type
- (c-name "gdk_colorspace_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_pixbuf_error_get_type
- (c-name "gdk_pixbuf_error_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_interp_type_get_type
- (c-name "gdk_interp_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_pixbuf_rotation_get_type
- (c-name "gdk_pixbuf_rotation_get_type")
- (return-type "GType")
-)
-
-
-
-;; From gdk-pixbuf-features.h
-
-
-
;; From gdk-pixbuf.h
@@ -1115,10 +1082,6 @@
-;; From gdk-pixbuf-marshal.h
-
-
-
;; From gdk-pixbuf-scaled-anim.h
(define-function gdk_pixbuf_scaled_anim_get_type
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]