From d6985d793f7b50ab0a4a8645622be431178027c9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 26 Dec 2017 10:30:50 -0500 Subject: [PATCH] Try to make the docs build more quiet Not sure if this really makes a difference. --- docs/reference/gdk/gdk4-sections.txt | 72 +++++++++++++++++++++++++++- docs/reference/gdk/meson.build | 12 ++++- gdk/gdkevents.c | 8 ++++ gdk/gdkeventsprivate.h | 38 +++++++-------- 4 files changed, 109 insertions(+), 21 deletions(-) diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt index 68070cdc5d..c63435afd2 100644 --- a/docs/reference/gdk/gdk4-sections.txt +++ b/docs/reference/gdk/gdk4-sections.txt @@ -20,6 +20,13 @@ GDK_VERSION_3_8 GDK_VERSION_3_10 GDK_VERSION_3_12 GDK_VERSION_3_14 +GDK_VERSION_3_16 +GDK_VERSION_3_18 +GDK_VERSION_3_20 +GDK_VERSION_3_22 +GDK_VERSION_3_90 +GDK_VERSION_3_92 +GDK_VERSION_3_94 GDK_VERSION_MIN_REQUIRED GDK_VERSION_MAX_ALLOWED GDK_DISABLE_DEPRECATION_WARNINGS @@ -62,6 +69,51 @@ gdk_window_type_get_type gdk_window_type_hint_get_type gdk_wm_decoration_get_type gdk_wm_function_get_type +GDK_AVAILABLE_IN_3_0 +GDK_AVAILABLE_IN_3_10 +GDK_AVAILABLE_IN_3_12 +GDK_AVAILABLE_IN_3_14 +GDK_AVAILABLE_IN_3_16 +GDK_AVAILABLE_IN_3_18 +GDK_AVAILABLE_IN_3_2 +GDK_AVAILABLE_IN_3_20 +GDK_AVAILABLE_IN_3_22 +GDK_AVAILABLE_IN_3_4 +GDK_AVAILABLE_IN_3_6 +GDK_AVAILABLE_IN_3_8 +GDK_AVAILABLE_IN_3_90 +GDK_AVAILABLE_IN_3_92 +GDK_AVAILABLE_IN_3_94 +GDK_AVAILABLE_IN_ALL +GDK_UNAVAILABLE +GDK_DEPRECATED +GDK_DEPRECATED_FOR +GDK_DEPRECATED_IN_3_0 +GDK_DEPRECATED_IN_3_0_FOR +GDK_DEPRECATED_IN_3_10 +GDK_DEPRECATED_IN_3_10_FOR +GDK_DEPRECATED_IN_3_12 +GDK_DEPRECATED_IN_3_12_FOR +GDK_DEPRECATED_IN_3_14 +GDK_DEPRECATED_IN_3_14_FOR +GDK_DEPRECATED_IN_3_16 +GDK_DEPRECATED_IN_3_16_FOR +GDK_DEPRECATED_IN_3_18 +GDK_DEPRECATED_IN_3_18_FOR +GDK_DEPRECATED_IN_3_2 +GDK_DEPRECATED_IN_3_20 +GDK_DEPRECATED_IN_3_20_FOR +GDK_DEPRECATED_IN_3_22 +GDK_DEPRECATED_IN_3_22_FOR +GDK_DEPRECATED_IN_3_2_FOR +GDK_DEPRECATED_IN_3_4 +GDK_DEPRECATED_IN_3_4_FOR +GDK_DEPRECATED_IN_3_6 +GDK_DEPRECATED_IN_3_6_FOR +GDK_DEPRECATED_IN_3_8 +GDK_DEPRECATED_IN_3_8_FOR +GDK_VERSION_CUR_STABLE +GDK_VERSION_PREV_STABLE
@@ -583,6 +635,7 @@ GDK_DEVICE_GET_CLASS GDK_IS_DEVICE GDK_IS_DEVICE_CLASS GDK_TYPE_DEVICE +GDK_DEVICE_TOOL GdkDeviceClass @@ -607,6 +660,7 @@ gdk_device_pad_get_feature_group GDK_TYPE_DEVICE_PAD GDK_DEVICE_PAD GDK_IS_DEVICE_PAD +GDK_DEVICE_PAD_GET_IFACE gdk_device_pad_get_type @@ -763,6 +817,7 @@ gdk_cursor_get_hotspot_y GDK_TYPE_CURSOR +GDK_CURSOR gdk_cursor_get_type @@ -1063,9 +1118,21 @@ gdk_frame_clock_get_history_start gdk_frame_clock_get_timings gdk_frame_clock_get_current_timings gdk_frame_clock_get_refresh_info + +GDK_FRAME_CLOCK +GDK_FRAME_CLOCK_CLASS +GDK_FRAME_CLOCK_GET_CLASS +GDK_FRAME_CLOCK_IDLE +GDK_FRAME_CLOCK_IDLE_CLASS +GDK_FRAME_CLOCK_IDLE_GET_CLASS +GDK_IS_FRAME_CLOCK +GDK_IS_FRAME_CLOCK_CLASS +GDK_IS_FRAME_CLOCK_IDLE +GDK_IS_FRAME_CLOCK_IDLE_CLASS GdkFrameClockPrivate gdk_frame_clock_get_type +gdk_frame_clock_idle_get_type
@@ -1081,7 +1148,7 @@ gdk_frame_timings_get_presentation_time gdk_frame_timings_get_refresh_interval gdk_frame_timings_get_predicted_presentation_time -gdk_frame_get_type +gdk_frame_timings_get_type
@@ -1248,6 +1315,9 @@ gdk_content_provider_write_mime_type_finish gdk_content_provider_get_value +GDK_CONTENT_PROVIDER +GDK_CONTENT_PROVIDER_CLASS +GDK_CONTENT_PROVIDER_GET_CLASS GdkContentProviderClass gdk_content_provider_get_type
diff --git a/docs/reference/gdk/meson.build b/docs/reference/gdk/meson.build index 22b9a509bb..65a89792de 100644 --- a/docs/reference/gdk/meson.build +++ b/docs/reference/gdk/meson.build @@ -15,6 +15,7 @@ private_headers = [ 'gdkdisplayprivate.h', 'gdkdndprivate.h', 'gdkdrawcontextprivate.h', + 'gdkeventsprivate.h', 'gdkframeclockprivate.h', 'gdkglcontextprivate.h', 'gdkkeysprivate.h', @@ -27,9 +28,18 @@ private_headers = [ 'gdkvisualprivate.h', 'gdkvulkancontextprivate.h', 'keyname-table.h', + 'x11/gdkprivate-x11.h', + 'x11/gdkeventsource.h', + 'wayland/keyboard-shortcuts-inhibit-unstable-v1-client-protocol.h', + 'wayland/pointer-gestures-unstable-v1-client-protocol.h', + 'wayland/server-decoration-client-protocol.h', + 'wayland/tablet-unstable-v2-client-protocol.h', + 'wayland/xdg-foreign-unstable-v1-client-protocol.h', + 'wayland/xdg-shell-unstable-v6-client-protocol.h', 'win32', 'quartz', - 'broadway' + 'broadway', + 'mir' ] images = [ diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index 687ba3e227..62dc02be8b 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -2083,6 +2083,14 @@ gdk_event_get_user_data (const GdkEvent *event) return g_object_get_qdata (G_OBJECT (event), quark_event_user_data); } +/** + * gdk_event_is_sent: + * @event: a #GdkEvent + * + * Returns whether the event was sent explicitly. + * + * Returns: %TRUE if the event was sent explicitly + */ gboolean gdk_event_is_sent (const GdkEvent *event) { diff --git a/gdk/gdkeventsprivate.h b/gdk/gdkeventsprivate.h index 001e20b36a..41ffc5240c 100644 --- a/gdk/gdkeventsprivate.h +++ b/gdk/gdkeventsprivate.h @@ -41,7 +41,7 @@ struct _GdkEventClass GObjectClass object_class; }; -/** +/* * GdkEventAny: * @type: the type of the event. * @window: the window which received the event. @@ -63,7 +63,7 @@ struct _GdkEventAny GdkDisplay *display; }; -/** +/* * GdkEventExpose: * @type: the type of the event (%GDK_EXPOSE) * @window: the window which received the event. @@ -86,7 +86,7 @@ struct _GdkEventExpose gint count; /* If non-zero, how many more events follow. */ }; -/** +/* * GdkEventMotion: * @type: the type of the event. * @window: the window which received the event. @@ -124,7 +124,7 @@ struct _GdkEventMotion GList *history; }; -/** +/* * GdkEventButton: * @type: the type of the event (%GDK_BUTTON_PRESS or %GDK_BUTTON_RELEASE). * @window: the window which received the event. @@ -164,7 +164,7 @@ struct _GdkEventButton gdouble x_root, y_root; }; -/** +/* * GdkEventTouch: * @type: the type of the event (%GDK_TOUCH_BEGIN, %GDK_TOUCH_UPDATE, * %GDK_TOUCH_END, %GDK_TOUCH_CANCEL) @@ -212,7 +212,7 @@ struct _GdkEventTouch gdouble x_root, y_root; }; -/** +/* * GdkEventScroll: * @type: the type of the event (%GDK_SCROLL). * @window: the window which received the event. @@ -258,7 +258,7 @@ struct _GdkEventScroll guint is_stop : 1; }; -/** +/* * GdkEventKey: * @type: the type of the event (%GDK_KEY_PRESS or %GDK_KEY_RELEASE). * @window: the window which received the event. @@ -303,7 +303,7 @@ struct _GdkEventKey guint is_modifier : 1; }; -/** +/* * GdkEventCrossing: * @type: the type of the event (%GDK_ENTER_NOTIFY or %GDK_LEAVE_NOTIFY). * @window: the window which received the event. @@ -344,7 +344,7 @@ struct _GdkEventCrossing guint state; }; -/** +/* * GdkEventFocus: * @type: the type of the event (%GDK_FOCUS_CHANGE). * @window: the window which received the event. @@ -360,7 +360,7 @@ struct _GdkEventFocus gint16 in; }; -/** +/* * GdkEventConfigure: * @type: the type of the event (%GDK_CONFIGURE). * @window: the window which received the event. @@ -380,7 +380,7 @@ struct _GdkEventConfigure gint height; }; -/** +/* * GdkEventProximity: * @type: the type of the event (%GDK_PROXIMITY_IN or %GDK_PROXIMITY_OUT). * @window: the window which received the event. @@ -405,7 +405,7 @@ struct _GdkEventProximity guint32 time; }; -/** +/* * GdkEventGrabBroken: * @type: the type of the event (%GDK_GRAB_BROKEN) * @window: the window which received the event, i.e. the window @@ -433,7 +433,7 @@ struct _GdkEventGrabBroken { GdkWindow *grab_window; }; -/** +/* * GdkEventDND: * @type: the type of the event (%GDK_DRAG_ENTER, %GDK_DRAG_LEAVE, * %GDK_DRAG_MOTION or %GDK_DROP_START) @@ -456,7 +456,7 @@ struct _GdkEventDND { gshort x_root, y_root; }; -/** +/* * GdkEventTouchpadSwipe: * @type: the type of the event (%GDK_TOUCHPAD_SWIPE) * @window: the window which received the event @@ -491,7 +491,7 @@ struct _GdkEventTouchpadSwipe { guint state; }; -/** +/* * GdkEventTouchpadPinch: * @type: the type of the event (%GDK_TOUCHPAD_PINCH) * @window: the window which received the event @@ -532,7 +532,7 @@ struct _GdkEventTouchpadPinch { guint state; }; -/** +/* * GdkEventPadButton: * @type: the type of the event (%GDK_PAD_BUTTON_PRESS or %GDK_PAD_BUTTON_RELEASE). * @window: the window which received the event. @@ -556,7 +556,7 @@ struct _GdkEventPadButton { guint mode; }; -/** +/* * GdkEventPadAxis: * @type: the type of the event (%GDK_PAD_RING or %GDK_PAD_STRIP). * @window: the window which received the event. @@ -583,7 +583,7 @@ struct _GdkEventPadAxis { gdouble value; }; -/** +/* * GdkEventPadGroupMode: * @type: the type of the event (%GDK_PAD_GROUP_MODE). * @window: the window which received the event. @@ -606,7 +606,7 @@ struct _GdkEventPadGroupMode { guint mode; }; -/** +/* * GdkEvent: * @type: the #GdkEventType * @any: a #GdkEventAny