diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-04-28 16:23:32 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-04-28 22:34:14 -0400 |
commit | 3684b7212150d277fd592a38f6f742019456036f (patch) | |
tree | ec897e2ca6e939e62957e654d094e902ec45e2d7 /gdk | |
parent | 059a181f7d80d8d073cc61052089acf6d1df42fe (diff) | |
download | gtk+-3684b7212150d277fd592a38f6f742019456036f.tar.gz |
Misc documentation fixes
Close some gaps in gdk docs.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkevents.c | 2 | ||||
-rw-r--r-- | gdk/gdkmemorytexture.h | 2 | ||||
-rw-r--r-- | gdk/gdksurface.c | 2 | ||||
-rw-r--r-- | gdk/wayland/gdkdisplay-wayland.c | 4 |
4 files changed, 4 insertions, 6 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index d7a7337d4c..63437da78d 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -2336,7 +2336,7 @@ gdk_event_get_touch_emulating_pointer (const GdkEvent *event, **/ gboolean gdk_event_get_grab_surface (const GdkEvent *event, - GdkSurface **surface) + GdkSurface **surface) { if (!event) return FALSE; diff --git a/gdk/gdkmemorytexture.h b/gdk/gdkmemorytexture.h index 067f164baa..7064455378 100644 --- a/gdk/gdkmemorytexture.h +++ b/gdk/gdkmemorytexture.h @@ -47,7 +47,7 @@ G_BEGIN_DECLS * * 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 - * 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 * architectures with different endiannesses. * diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c index c5c176df2d..be41a73674 100644 --- a/gdk/gdksurface.c +++ b/gdk/gdksurface.c @@ -55,7 +55,7 @@ /** - * SECTION:surfaces + * SECTION:gdksurface * @Short_description: Onscreen display areas in the target window system * @Title: Surfaces * diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c index 4999ce0905..8ba75e6ae9 100644 --- a/gdk/wayland/gdkdisplay-wayland.c +++ b/gdk/wayland/gdkdisplay-wayland.c @@ -2079,14 +2079,12 @@ gdk_wayland_display_get_output_scale (GdkWaylandDisplay *display_wayland, /** * gdk_wayland_display_query_registry: * @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 * wl_registry.global handler. * * Returns: %TRUE if the global is offered by the compositor - * - * Since: 3.94 **/ gboolean gdk_wayland_display_query_registry (GdkDisplay *display, |