summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorДилян Палаузов <git-dpa@aegee.org>2019-08-25 12:52:24 +0000
committerДилян Палаузов <git-dpa@aegee.org>2019-08-25 12:52:46 +0000
commit6ded38de2b2f87f1531367f62c38ac49b9e50862 (patch)
tree73073bb15e18b22d2831f996f77cea3275c6437e /gdk
parent4fa1f459dda18dd6e1020089eeb9f58b0b9276c3 (diff)
downloadgtk+-6ded38de2b2f87f1531367f62c38ac49b9e50862.tar.gz
Minor typos in the Documentation (a/an)
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkevents.c2
-rw-r--r--gdk/gdkglcontext.c2
-rw-r--r--gdk/gdkseat.c2
-rw-r--r--gdk/gdkselection.c2
-rw-r--r--gdk/win32/gdkkeys-win32.c2
-rw-r--r--gdk/win32/gdksurface-win32.c4
-rw-r--r--gdk/win32/gdksurface-win32.h2
-rw-r--r--gdk/x11/gdkdevicemanager-xi2.c2
-rw-r--r--gdk/x11/gdkglcontext-x11.c2
9 files changed, 10 insertions, 10 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 6c03d40520..bf978e2980 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -1312,7 +1312,7 @@ gdk_event_get_scroll_deltas (const GdkEvent *event,
* stop scroll event is the signal that a widget may trigger kinetic
* scrolling based on the current velocity.
*
- * Stop scroll events always have a a delta of 0/0.
+ * Stop scroll events always have a delta of 0/0.
*
* Returns: %TRUE if the event is a scroll stop event
*/
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
index 12a77c827a..9f3ea5d938 100644
--- a/gdk/gdkglcontext.c
+++ b/gdk/gdkglcontext.c
@@ -770,7 +770,7 @@ gdk_gl_context_set_is_legacy (GdkGLContext *context,
* @use_es: whether the context should use OpenGL ES instead of OpenGL,
* or -1 to allow auto-detection
*
- * Requests that GDK create a OpenGL ES context instead of an OpenGL one,
+ * Requests that GDK create an OpenGL ES context instead of an OpenGL one,
* if the platform and windowing system allows it.
*
* The @context must not have been realized.
diff --git a/gdk/gdkseat.c b/gdk/gdkseat.c
index 3f5f4d7622..6164d4f2ca 100644
--- a/gdk/gdkseat.c
+++ b/gdk/gdkseat.c
@@ -28,7 +28,7 @@
/**
* SECTION:gdkseat
- * @Short_description: Object representing an user seat
+ * @Short_description: Object representing a user seat
* @Title: GdkSeat
* @See_also: #GdkDisplay, #GdkDevice
*
diff --git a/gdk/gdkselection.c b/gdk/gdkselection.c
index 39e4d0ec2a..1929b8ed2e 100644
--- a/gdk/gdkselection.c
+++ b/gdk/gdkselection.c
@@ -65,7 +65,7 @@ gdk_text_property_to_utf8_list_for_display (GdkDisplay *display,
* gdk_utf8_to_string_target:
* @str: a UTF-8 string
*
- * Converts an UTF-8 string into the best possible representation
+ * Converts a UTF-8 string into the best possible representation
* as a STRING. The representation of characters not in STRING
* is not specified; it may be as pseudo-escape sequences
* \x{ABCD}, or it may be in some other form of approximation.
diff --git a/gdk/win32/gdkkeys-win32.c b/gdk/win32/gdkkeys-win32.c
index 8290ff5d4b..679caa5540 100644
--- a/gdk/win32/gdkkeys-win32.c
+++ b/gdk/win32/gdkkeys-win32.c
@@ -749,7 +749,7 @@ update_keymap (GdkKeymap *gdk_keymap)
/* First, handle those virtual keys that we always want
* as special GDK_* keysyms, even if ToAsciiEx might
- * turn some them into a ASCII character (like TAB and
+ * turn some them into an ASCII character (like TAB and
* ESC).
*/
handle_special (vk, ksymp, level);
diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c
index 877a90361a..51ca00453c 100644
--- a/gdk/win32/gdksurface-win32.c
+++ b/gdk/win32/gdksurface-win32.c
@@ -824,7 +824,7 @@ show_window_internal (GdkSurface *window,
_gdk_win32_surface_state_to_string (window->state),
(deiconify ? " deiconify" : "")));
- /* If asked to show (not deiconify) an withdrawn and iconified
+ /* If asked to show (not deiconify) a withdrawn and iconified
* window, do that.
*/
if (!deiconify &&
@@ -1962,7 +1962,7 @@ gdk_win32_surface_set_icon_name (GdkSurface *window,
{
/* In case I manage to confuse this again (or somebody else does):
* Please note that "icon name" here really *does* mean the name or
- * title of an window minimized as an icon on the desktop, or in the
+ * title of a window minimized as an icon on the desktop, or in the
* taskbar. It has nothing to do with the freedesktop.org icon
* naming stuff.
*/
diff --git a/gdk/win32/gdksurface-win32.h b/gdk/win32/gdksurface-win32.h
index 061463dd9a..ecef950949 100644
--- a/gdk/win32/gdksurface-win32.h
+++ b/gdk/win32/gdksurface-win32.h
@@ -180,7 +180,7 @@ struct _GdkW32DragMoveResizeContext
*
* For drag-move: If it's FALSE,
* then the pointer have not yet hit a trigger, even if it is
- * already within a edge region.
+ * already within an edge region.
* If it's TRUE, then the pointer did hit a trigger within an
* edge region, and have not yet left an edge region
* (passing from one edge region into another doesn't count).
diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c
index cbd51d979f..645e992c38 100644
--- a/gdk/x11/gdkdevicemanager-xi2.c
+++ b/gdk/x11/gdkdevicemanager-xi2.c
@@ -1363,7 +1363,7 @@ scroll_valuators_changed (GdkX11DeviceXI2 *device,
}
/* We only care about focus events that indicate that _this_
- * surface (not a ancestor or child) got or lost the focus
+ * surface (not an ancestor or child) got or lost the focus
*/
static void
_gdk_device_manager_xi2_handle_focus (GdkSurface *surface,
diff --git a/gdk/x11/gdkglcontext-x11.c b/gdk/x11/gdkglcontext-x11.c
index 1385713609..95d8e66c66 100644
--- a/gdk/x11/gdkglcontext-x11.c
+++ b/gdk/x11/gdkglcontext-x11.c
@@ -676,7 +676,7 @@ gdk_x11_gl_context_realize (GdkGLContext *context,
/* Ensure that any other context is created with a legacy bit set */
gdk_gl_context_set_is_legacy (context, legacy_bit);
- /* Ensure that any other context is created with a ES bit set */
+ /* Ensure that any other context is created with an ES bit set */
gdk_gl_context_set_use_es (context, es_bit);
xvisinfo = find_xvisinfo_for_fbconfig (display, context_x11->glx_config);