Misc documentation fixes

Close some gaps in gdk docs.
This commit is contained in:
Matthias Clasen 2018-04-28 16:23:32 -04:00
parent 059a181f7d
commit 3684b72121
6 changed files with 9 additions and 11 deletions

View File

@ -29,7 +29,7 @@
<xi:include href="xml/textures.xml" /> <xi:include href="xml/textures.xml" />
<xi:include href="xml/rgba_colors.xml" /> <xi:include href="xml/rgba_colors.xml" />
<xi:include href="xml/cursors.xml" /> <xi:include href="xml/cursors.xml" />
<xi:include href="xml/windows.xml" /> <xi:include href="xml/gdksurface.xml" />
<xi:include href="xml/gdkframeclock.xml" /> <xi:include href="xml/gdkframeclock.xml" />
<xi:include href="xml/gdkframetimings.xml" /> <xi:include href="xml/gdkframetimings.xml" />
<xi:include href="xml/gdkdrawcontext.xml" /> <xi:include href="xml/gdkdrawcontext.xml" />

View File

@ -167,8 +167,8 @@ gdk_rgba_get_type
</SECTION> </SECTION>
<SECTION> <SECTION>
<TITLE>Windows</TITLE> <TITLE>GdkSurface</TITLE>
<FILE>windows</FILE> <FILE>gdksurface</FILE>
GdkSurface GdkSurface
GdkSurfaceType GdkSurfaceType
GdkSurfaceClass GdkSurfaceClass
@ -655,7 +655,7 @@ gdk_event_get_crossing_detail
gdk_event_get_crossing_mode gdk_event_get_crossing_mode
gdk_event_get_drag_context gdk_event_get_drag_context
gdk_event_get_focus_in gdk_event_get_focus_in
gdk_event_get_grab_window gdk_event_get_grab_surface
gdk_event_get_motion_history gdk_event_get_motion_history
gdk_event_get_key_group gdk_event_get_key_group
gdk_event_get_key_is_modifier gdk_event_get_key_is_modifier
@ -1104,7 +1104,7 @@ gdk_draw_context_get_display
gdk_draw_context_get_surface gdk_draw_context_get_surface
gdk_draw_context_begin_frame gdk_draw_context_begin_frame
gdk_draw_context_end_frame gdk_draw_context_end_frame
gdk_draw_context_in_frame gdk_draw_context_is_in_frame
gdk_draw_context_get_frame_region gdk_draw_context_get_frame_region
<SUBSECTION Standard> <SUBSECTION Standard>

View File

@ -2336,7 +2336,7 @@ gdk_event_get_touch_emulating_pointer (const GdkEvent *event,
**/ **/
gboolean gboolean
gdk_event_get_grab_surface (const GdkEvent *event, gdk_event_get_grab_surface (const GdkEvent *event,
GdkSurface **surface) GdkSurface **surface)
{ {
if (!event) if (!event)
return FALSE; return FALSE;

View File

@ -47,7 +47,7 @@ G_BEGIN_DECLS
* *
* It describes formats by listing the contents of the memory passed to it. * It describes formats by listing the contents of the memory passed to it.
* So GDK_MEMORY_A8R8G8B8 will be 1 byte (8 bits) of alpha, followed by a * So GDK_MEMORY_A8R8G8B8 will be 1 byte (8 bits) of alpha, followed by a
* byte each of red, green and blue. It is not endian-dependant, so * byte each of red, green and blue. It is not endian-dependent, so
* CAIRO_FORMAT_ARGB32 is represented by different #GdkMemoryFormats on * CAIRO_FORMAT_ARGB32 is represented by different #GdkMemoryFormats on
* architectures with different endiannesses. * architectures with different endiannesses.
* *

View File

@ -55,7 +55,7 @@
/** /**
* SECTION:surfaces * SECTION:gdksurface
* @Short_description: Onscreen display areas in the target window system * @Short_description: Onscreen display areas in the target window system
* @Title: Surfaces * @Title: Surfaces
* *

View File

@ -2079,14 +2079,12 @@ gdk_wayland_display_get_output_scale (GdkWaylandDisplay *display_wayland,
/** /**
* gdk_wayland_display_query_registry: * gdk_wayland_display_query_registry:
* @display: a wayland #GdkDisplay * @display: a wayland #GdkDisplay
* @interface: global interface to query in the registry * @global: global interface to query in the registry
* *
* Returns %TRUE if the the interface was found in the display * Returns %TRUE if the the interface was found in the display
* wl_registry.global handler. * wl_registry.global handler.
* *
* Returns: %TRUE if the global is offered by the compositor * Returns: %TRUE if the global is offered by the compositor
*
* Since: 3.94
**/ **/
gboolean gboolean
gdk_wayland_display_query_registry (GdkDisplay *display, gdk_wayland_display_query_registry (GdkDisplay *display,