summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-02-07 13:32:47 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-02-07 13:32:47 -0500
commite34bd4137d4fba33b2cbea927fdcc829b1983aaa (patch)
treea75585038e3a419a4aa3383233450c5ba3fe2c83 /gdk
parentf0000b2f3d3de91a1814d3e243a0e0a301c9f255 (diff)
downloadgtk+-e34bd4137d4fba33b2cbea927fdcc829b1983aaa.tar.gz
docs: use apostrophes in *n't
Diffstat (limited to 'gdk')
-rw-r--r--gdk/broadway/broadway-buffer.c2
-rw-r--r--gdk/gdk.c12
-rw-r--r--gdk/gdkdeprecated.c2
-rw-r--r--gdk/gdkdevice.c6
-rw-r--r--gdk/gdkdevicemanager.c6
-rw-r--r--gdk/gdkdisplay.c4
-rw-r--r--gdk/gdkdisplaymanager.c2
-rw-r--r--gdk/gdkdnd.h2
-rw-r--r--gdk/gdkevents.c6
-rw-r--r--gdk/gdkevents.h2
-rw-r--r--gdk/gdkkeys.c6
-rw-r--r--gdk/gdkoffscreenwindow.c2
-rw-r--r--gdk/gdkpixbuf-drawable.c2
-rw-r--r--gdk/gdkproperty.c2
-rw-r--r--gdk/gdkscreen.c6
-rw-r--r--gdk/gdkwindow.c72
-rw-r--r--gdk/gdkwindow.h6
-rw-r--r--gdk/quartz/gdkeventloop-quartz.c6
-rw-r--r--gdk/wayland/gdkwindow-wayland.c2
-rw-r--r--gdk/win32/gdkdnd-win32.c6
-rw-r--r--gdk/win32/gdkevents-win32.c4
-rw-r--r--gdk/win32/gdkmain-win32.c4
-rw-r--r--gdk/x11/gdkapplaunchcontext-x11.c8
-rw-r--r--gdk/x11/gdkdevicemanager-x11.c2
-rw-r--r--gdk/x11/gdkdisplay-x11.c4
-rw-r--r--gdk/x11/gdkdnd-x11.c2
-rw-r--r--gdk/x11/gdkproperty-x11.c8
-rw-r--r--gdk/x11/gdkscreen-x11.c2
-rw-r--r--gdk/x11/gdkselection-x11.c2
-rw-r--r--gdk/x11/gdkvisual-x11.c2
-rw-r--r--gdk/x11/gdkwindow-x11.c2
31 files changed, 97 insertions, 97 deletions
diff --git a/gdk/broadway/broadway-buffer.c b/gdk/broadway/broadway-buffer.c
index 342187d9ae..f1ce426d41 100644
--- a/gdk/broadway/broadway-buffer.c
+++ b/gdk/broadway/broadway-buffer.c
@@ -154,7 +154,7 @@ struct encoder {
*
* - all 1 pixel colors are encoded literally
*
- * - We don't need to support colors with alpha 0 and non-zero
+ * - We don’t need to support colors with alpha 0 and non-zero
* color components, as they mean the same on the canvas anyway.
* So we use these as special codes:
*
diff --git a/gdk/gdk.c b/gdk/gdk.c
index 8427e323fd..1e57afd92f 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -299,7 +299,7 @@ gdk_pre_parse_libgtk_only (void)
* Any arguments used by GDK are removed from the array and @argc and @argv are
* updated accordingly.
*
- * You shouldn't call this function explicitly if you are using
+ * You shouldn’t call this function explicitly if you are using
* gtk_init(), gtk_init_check(), gdk_init(), or gdk_init_check().
*
* Since: 2.2
@@ -495,7 +495,7 @@ gdk_init (int *argc, char ***argv)
* Before calling gdk_threads_leave() from a thread other
* than your main thread, you probably want to call gdk_flush()
* to send all pending commands to the windowing system.
- * (The reason you don't need to do this from the main thread
+ * (The reason you don’t need to do this from the main thread
* is that GDK always automatically flushes pending commands
* when it runs out of incoming events to process and has
* to sleep while waiting for more events.)
@@ -776,7 +776,7 @@ gdk_threads_init (void)
* the GTK+ lock when entering a recursive main loop, the application
* must temporarily release its lock as well.
*
- * Most threaded GTK+ apps won't need to use this method.
+ * Most threaded GTK+ apps won’t need to use this method.
*
* This method must be called before gdk_threads_init(), and cannot
* be called multiple times.
@@ -1041,7 +1041,7 @@ gdk_threads_add_timeout (guint interval,
*
* A variant of gdk_threads_add_timeout_full() with second-granularity.
* See g_timeout_add_seconds_full() for a discussion of why it is
- * a good idea to use this function if you don't need finer granularity.
+ * a good idea to use this function if you don’t need finer granularity.
*
* Return value: the ID (greater than 0) of the event source.
*
@@ -1133,10 +1133,10 @@ gdk_set_program_class (const char *program_class)
* to gdk_display_open(), gtk_init(), gtk_init_with_args() or
* gtk_init_check() in order to take effect.
*
- * Most common GTK+ applications won't ever need to call this. Only
+ * Most common GTK+ applications won’t ever need to call this. Only
* applications that do mixed GDK/Xlib calls could want to disable
* multidevice support if such Xlib code deals with input devices in
- * any way and doesn't observe the presence of XInput 2.
+ * any way and doesn’t observe the presence of XInput 2.
*
* Since: 3.0
*/
diff --git a/gdk/gdkdeprecated.c b/gdk/gdkdeprecated.c
index c7351438cf..56a9ddc654 100644
--- a/gdk/gdkdeprecated.c
+++ b/gdk/gdkdeprecated.c
@@ -88,7 +88,7 @@ gdk_keyboard_ungrab (guint32 time)
* Obtains the window underneath the mouse pointer, returning the
* location of that window in @win_x, @win_y. Returns %NULL if the
* window under the mouse pointer is not known to GDK (if the window
- * belongs to another application and a #GdkWindow hasn't been created
+ * belongs to another application and a #GdkWindow hasn’t been created
* for it with gdk_window_foreign_new())
*
* NOTE: For multihead-aware widgets or applications use
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index a9ecf39b63..1660923e1d 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -1226,8 +1226,8 @@ get_native_grab_event_mask (GdkEventMask grab_mask)
* gdk_device_grab:
* @device: a #GdkDevice. To get the device you can use gtk_get_current_event_device()
* or gdk_event_get_device() if the grab is in reaction to an event. Also, you can use
- * gdk_device_manager_get_client_pointer() but only in code that isn't triggered by a
- * #GdkEvent and there aren't other means to get a meaningful #GdkDevice to operate on.
+ * gdk_device_manager_get_client_pointer() but only in code that isn’t triggered by a
+ * #GdkEvent and there aren’t other means to get a meaningful #GdkDevice to operate on.
* @window: the #GdkWindow which will own the grab (the grab window)
* @grab_ownership: specifies the grab ownership.
* @owner_events: if %FALSE then all device events are reported with respect to
@@ -1244,7 +1244,7 @@ get_native_grab_event_mask (GdkEventMask grab_mask)
* elsewhere.
* @time_: the timestamp of the event which led to this pointer grab. This
* usually comes from the #GdkEvent struct, though %GDK_CURRENT_TIME
- * can be used if the time isn't known.
+ * can be used if the time isn’t known.
*
* Grabs the device so that all events coming from this device are passed to
* this application until the device is ungrabbed with gdk_device_ungrab(),
diff --git a/gdk/gdkdevicemanager.c b/gdk/gdkdevicemanager.c
index 63d4fff175..e9f96793a6 100644
--- a/gdk/gdkdevicemanager.c
+++ b/gdk/gdkdevicemanager.c
@@ -57,7 +57,7 @@
* #GdkDeviceManager implementation will be used as the input source.
* Otherwise either the core or XInput 1 implementations will be used.
*
- * For simple applications that don't have any special interest in
+ * For simple applications that don’t have any special interest in
* input devices, the so-called “client pointer”
* provides a reasonable approximation to a simple setup with a single
* pointer and keyboard. The device that has been set as the client
@@ -330,8 +330,8 @@ gdk_device_manager_list_devices (GdkDeviceManager *device_manager,
* for this application. In X11, window managers may change this depending on the interaction
* pattern under the presence of several pointers.
*
- * You should use this function seldomly, only in code that isn't triggered by a #GdkEvent
- * and there aren't other means to get a meaningful #GdkDevice to operate on.
+ * You should use this function seldomly, only in code that isn’t triggered by a #GdkEvent
+ * and there aren’t other means to get a meaningful #GdkDevice to operate on.
*
* Returns: (transfer none): The client pointer. This memory is
* owned by GDK and must not be freed or unreferenced.
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index acea8bd31f..2fd423fa6e 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -2097,7 +2097,7 @@ static GQueue gdk_error_traps = G_QUEUE_INIT;
* behavior of exiting the application. It should only be used if it
* is not possible to avoid the X error in any other way. Errors are
* ignored on all #GdkDisplay currently known to the
- * #GdkDisplayManager. If you don't care which error happens and just
+ * #GdkDisplayManager. If you don’t care which error happens and just
* want to ignore everything, pop with gdk_error_trap_pop_ignored().
* If you need the error code, use gdk_error_trap_pop() which may have
* to block and wait for the error to arrive from the X server.
@@ -2206,7 +2206,7 @@ gdk_error_trap_pop_ignored (void)
* Removes an error trap pushed with gdk_error_trap_push().
* May block until an error has been definitively received
* or not received from the X server. gdk_error_trap_pop_ignored()
- * is preferred if you don't need to know whether an error
+ * is preferred if you don’t need to know whether an error
* occurred, because it never has to block. If you don't
* need the return value of gdk_error_trap_pop(), use
* gdk_error_trap_pop_ignored().
diff --git a/gdk/gdkdisplaymanager.c b/gdk/gdkdisplaymanager.c
index e17c22ce1a..19df8b0ce7 100644
--- a/gdk/gdkdisplaymanager.c
+++ b/gdk/gdkdisplaymanager.c
@@ -40,7 +40,7 @@
#ifdef GDK_WINDOWING_QUARTZ
/* When the gdk_quartz_display_open function is removed We can
* immediately include gdkquartzdisplaymanager.h here instead of
- * gdkprivate-quartz.h so that we won't have to enable -xobjective-c
+ * gdkprivate-quartz.h so that we won’t have to enable -xobjective-c
* for the “generic” GDK source code.
* #include "quartz/gdkquartzdisplaymanager.h"
*/
diff --git a/gdk/gdkdnd.h b/gdk/gdkdnd.h
index 127a9eb62b..f5ad51016a 100644
--- a/gdk/gdkdnd.h
+++ b/gdk/gdkdnd.h
@@ -47,7 +47,7 @@ G_BEGIN_DECLS
* @GDK_ACTION_LINK: Add a link to the data. Note that this is only
* useful if source and destination agree on what it means.
* @GDK_ACTION_PRIVATE: Special action which tells the source that the
- * destination will do something that the source doesn't understand.
+ * destination will do something that the source doesn’t understand.
* @GDK_ACTION_ASK: Ask the user what to do with the data.
*
* Used in #GdkDragContext to indicate what the destination
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 11a8064561..264dd4a382 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -161,7 +161,7 @@ _gdk_event_queue_append (GdkDisplay *display,
* @sibling: Append after this event.
* @event: Event to append.
*
- * Appends an event after the specified event, or if it isn't in
+ * Appends an event after the specified event, or if it isn’t in
* the queue, onto the tail of the event queue.
*
* Returns: the newly appended list node.
@@ -189,7 +189,7 @@ _gdk_event_queue_insert_after (GdkDisplay *display,
* @sibling: Append before this event
* @event: Event to prepend
*
- * Prepends an event before the specified event, or if it isn't in
+ * Prepends an event before the specified event, or if it isn’t in
* the queue, onto the head of the event queue.
*
* Returns: the newly prepended list node.
@@ -1633,7 +1633,7 @@ gdk_event_set_source_device (GdkEvent *event,
*
* This function returns the hardware (slave) #GdkDevice that has
* triggered the event, falling back to the virtual (master) device
- * (as in gdk_event_get_device()) if the event wasn't caused by
+ * (as in gdk_event_get_device()) if the event wasn’t caused by
* interaction with a hardware device. This may happen for example
* in synthesized crossing events after a #GdkWindow updates its
* geometry or a grab is acquired/released.
diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h
index aebca9e4a3..3dd67e7f60 100644
--- a/gdk/gdkevents.h
+++ b/gdk/gdkevents.h
@@ -415,7 +415,7 @@ typedef enum
* this event is synthetic as the pointer might have not left the window.
* @GDK_CROSSING_DEVICE_SWITCH: crossing because of a device switch (i.e.
* a mouse taking control of the pointer after a touch device), this event
- * is synthetic as the pointer didn't leave the window.
+ * is synthetic as the pointer didn’t leave the window.
*
* Specifies the crossing mode for #GdkEventCrossing.
*/
diff --git a/gdk/gdkkeys.c b/gdk/gdkkeys.c
index 145a2e0629..63e92bfc87 100644
--- a/gdk/gdkkeys.c
+++ b/gdk/gdkkeys.c
@@ -95,7 +95,7 @@
* Note that gdk_keymap_translate_keyboard_state() also returns the keyval, i.e. it
* goes ahead and performs the keymap lookup in addition to telling you which
* effective group/level values were used for the lookup. #GdkEventKey already
- * contains this keyval, however, so you don't normally need to call
+ * contains this keyval, however, so you don’t normally need to call
* gdk_keymap_translate_keyboard_state() just to get the keyval.
*/
@@ -493,7 +493,7 @@ gdk_keymap_lookup_key (GdkKeymap *keymap,
* actually used for the translation; some keys such as Enter are not
* affected by the active keyboard group. The @level is derived from
* @state. For convenience, #GdkEventKey already contains the translated
- * keyval, so this function isn't as useful as you might think.
+ * keyval, so this function isn’t as useful as you might think.
*
* @consumed_modifiers gives modifiers that should be masked out
* from @state when comparing this key press to a hot key. For
@@ -518,7 +518,7 @@ gdk_keymap_lookup_key (GdkKeymap *keymap,
* this allowed accelerators to be stored with irrelevant consumed
* modifiers, by doing:
* |[<!-- language="C" -->
- * /&ast; XXX Don't do this XXX &ast;/
+ * /&ast; XXX Don’t do this XXX &ast;/
* if (keyval == accel_keyval &&
* (event->state & ~consumed & ALL_ACCELS_MASK) == (accel_mods & ~consumed))
* /&ast; Accelerator was pressed &ast;/
diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c
index 22d1004c9c..cd32d595ec 100644
--- a/gdk/gdkoffscreenwindow.c
+++ b/gdk/gdkoffscreenwindow.c
@@ -34,7 +34,7 @@
/* LIMITATIONS:
*
- * Offscreen windows can't be the child of a foreign window,
+ * Offscreen windows can’t be the child of a foreign window,
* nor contain foreign windows
* GDK_POINTER_MOTION_HINT_MASK isn't effective
*/
diff --git a/gdk/gdkpixbuf-drawable.c b/gdk/gdkpixbuf-drawable.c
index 2bf954baa7..f6a8dc32af 100644
--- a/gdk/gdkpixbuf-drawable.c
+++ b/gdk/gdkpixbuf-drawable.c
@@ -71,7 +71,7 @@
* If the window is not mapped (typically because it’s iconified/minimized
* or not on the current workspace), then %NULL will be returned.
*
- * If memory can't be allocated for the return value, %NULL will be returned
+ * If memory can’t be allocated for the return value, %NULL will be returned
* instead.
*
* (In short, there are several ways this function can fail, and if it fails
diff --git a/gdk/gdkproperty.c b/gdk/gdkproperty.c
index 9453c954ab..01ef94e99b 100644
--- a/gdk/gdkproperty.c
+++ b/gdk/gdkproperty.c
@@ -182,7 +182,7 @@ intern_atom_internal (const gchar *atom_name, gboolean allocate)
* gdk_atom_intern:
* @atom_name: a string.
* @only_if_exists: if %TRUE, GDK is allowed to not create a new atom, but
- * just return %GDK_NONE if the requested atom doesn't already
+ * just return %GDK_NONE if the requested atom doesn’t already
* exists. Currently, the flag is ignored, since checking the
* existance of an atom is as expensive as creating it.
*
diff --git a/gdk/gdkscreen.c b/gdk/gdkscreen.c
index f54dcca37d..10afdd1c7a 100644
--- a/gdk/gdkscreen.c
+++ b/gdk/gdkscreen.c
@@ -195,7 +195,7 @@ _gdk_screen_close (GdkScreen *screen)
}
/* Fallback used when the monitor "at" a point or window
- * doesn't exist.
+ * doesn’t exist.
*/
static gint
get_nearest_monitor (GdkScreen *screen,
@@ -443,7 +443,7 @@ gdk_screen_get_font_options (GdkScreen *screen)
/**
* gdk_screen_set_resolution:
* @screen: a #GdkScreen
- * @dpi: the resolution in “dots per inch”. (Physical inches aren't actually
+ * @dpi: the resolution in “dots per inch”. (Physical inches aren’t actually
* involved; the terminology is conventional.)
* Sets the resolution for font handling on the screen. This is a
@@ -889,7 +889,7 @@ gdk_screen_get_system_visual (GdkScreen * screen)
* The windowing system on which GTK+ is running
* may not support this capability, in which case %NULL will
* be returned. Even if a non-%NULL value is returned, its
- * possible that the window’s alpha channel won't be honored
+ * possible that the window’s alpha channel won’t be honored
* when displaying the window on the screen: in particular, for
* X an appropriate windowing manager and compositing manager
* must be running to provide appropriate display.
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 407695cb4f..ed7f169d4a 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -1025,10 +1025,10 @@ recompute_visible_regions_internal (GdkWindow *private,
*
* It will recalculate abs_x/y and the clip regions
*
- * Unless the window didn't change stacking order or size/pos, pass in TRUE
+ * Unless the window didn’t change stacking order or size/pos, pass in TRUE
* for recalculate_siblings. (Mostly used internally for the recursion)
*
- * If a child window was removed (and you can't use that child for
+ * If a child window was removed (and you can’t use that child for
* recompute_visible_regions), pass in TRUE for recalculate_children on the parent
*/
static void
@@ -1053,7 +1053,7 @@ _gdk_window_update_size (GdkWindow *window)
/* Find the native window that would be just above "child"
* in the native stacking order if “child” was a native window
- * (it doesn't have to be native). If there is no such native
+ * (it doesn’t have to be native). If there is no such native
* window inside this native parent then NULL is returned.
* If child is NULL, find lowest native window in parent.
*/
@@ -2943,7 +2943,7 @@ gdk_window_free_paint_stack (GdkWindow *window)
* Normally this should be completely invisible to applications, as
* we automatically flush the windows when required, but this might
* be needed if you for instance mix direct native drawing with
- * gdk drawing. For Gtk widgets that don't use double buffering this
+ * gdk drawing. For Gtk widgets that don’t use double buffering this
* will be called automatically before sending the expose event.
*
* Since: 2.18
@@ -4152,7 +4152,7 @@ _gdk_window_clear_update_area (GdkWindow *window)
* gdk_window_freeze_updates:
* @window: a #GdkWindow
*
- * Temporarily freezes a window such that it won't receive expose
+ * Temporarily freezes a window such that it won’t receive expose
* events. The window will begin receiving expose events again when
* gdk_window_thaw_updates() is called. If gdk_window_freeze_updates()
* has been called more than once, gdk_window_thaw_updates() must be called
@@ -4414,7 +4414,7 @@ gdk_window_constrain_size (GdkGeometry *geometry,
*
* Return value: (transfer none): the window containing the pointer (as with
* gdk_window_at_pointer()), or %NULL if the window containing the
- * pointer isn't known to GDK
+ * pointer isn’t known to GDK
*
* Deprecated: 3.0: Use gdk_window_get_device_position() instead.
**/
@@ -4783,7 +4783,7 @@ gdk_window_show_internal (GdkWindow *window, gboolean raise)
*
* On the X11 platform, in Xlib terms, this function calls
* XMapWindow() (it also updates some internal GDK state, which means
- * that you can't really use XMapWindow() directly on a GDK window).
+ * that you can’t really use XMapWindow() directly on a GDK window).
*/
void
gdk_window_show_unraised (GdkWindow *window)
@@ -4919,7 +4919,7 @@ gdk_window_invalidate_in_parent (GdkWindow *private)
* request to move the window in the Z-order, gdk_window_lower() only
* requests the restack, does not guarantee it.
*
- * Note that gdk_window_show() raises the window again, so don't call this
+ * Note that gdk_window_show() raises the window again, so don’t call this
* function before gdk_window_show(). (Try gdk_window_show_unraised().)
*/
void
@@ -5076,7 +5076,7 @@ gdk_window_show (GdkWindow *window)
*
* For toplevel windows, withdraws them, so they will no longer be
* known to the window manager; for all windows, unmaps them, so
- * they won't be displayed. Normally done automatically as
+ * they won’t be displayed. Normally done automatically as
* part of gtk_widget_hide().
*/
void
@@ -5602,7 +5602,7 @@ gdk_window_resize (GdkWindow *window,
* Equivalent to calling gdk_window_move() and gdk_window_resize(),
* except that both operations are performed at once, avoiding strange
* visual effects. (i.e. the user may be able to see the window first
- * move, then resize, if you don't use gdk_window_move_resize().)
+ * move, then resize, if you don’t use gdk_window_move_resize().)
**/
void
gdk_window_move_resize (GdkWindow *window,
@@ -6001,7 +6001,7 @@ gdk_window_set_device_cursor (GdkWindow *window,
* @height: (out) (allow-none): return location for height of window
*
* Any of the return location arguments to this function may be %NULL,
- * if you aren't interested in getting the value of that field.
+ * if you aren’t interested in getting the value of that field.
*
* The X and Y coordinates returned are relative to the parent window
* of @window, which for toplevels usually means relative to the
@@ -6601,7 +6601,7 @@ gdk_window_merge_child_input_shapes (GdkWindow *window)
* Set the bit gravity of the given window to static, and flag it so
* all children get static subwindow gravity. This is used if you are
* implementing scary features that involve deep knowledge of the
- * windowing system. Don't worry about it unless you have to.
+ * windowing system. Don’t worry about it unless you have to.
*
* Return value: %TRUE if the server supports static gravity
*/
@@ -7792,7 +7792,7 @@ _gdk_display_set_window_under_pointer (GdkDisplay *display,
* for @window is used for all other windows.
* @time_: the timestamp of the event which led to this pointer grab. This usually
* comes from a #GdkEventButton struct, though %GDK_CURRENT_TIME can be used if
- * the time isn't known.
+ * the time isn’t known.
*
* Grabs the pointer (usually a mouse) so that all events are passed to this
* application until the pointer is ungrabbed with gdk_pointer_ungrab(), or
@@ -9527,7 +9527,7 @@ gdk_window_set_urgency_hint (GdkWindow *window,
* has been turned on via gdk_window_set_override_redirect()
* since these windows are not resizable by the user.
*
- * Since you can't count on the windowing system doing the
+ * Since you can’t count on the windowing system doing the
* constraints for programmatic resizes, you should generally
* call gdk_window_constrain_size() yourself to determine
* appropriate sizes.
@@ -9547,7 +9547,7 @@ gdk_window_set_geometry_hints (GdkWindow *window,
* @title: title of @window
*
* Sets the title of a toplevel window, to be displayed in the titlebar.
- * If you haven't explicitly set the icon name for the window
+ * If you haven’t explicitly set the icon name for the window
* (using gdk_window_set_icon_name()), the icon name will be set to
* @title as well. @title must be in UTF-8 encoding (as with all
* user-readable strings in GDK/GTK+). @title may not be %NULL.
@@ -9573,7 +9573,7 @@ gdk_window_set_title (GdkWindow *window,
* session, all windows with the same title and role are treated as
* interchangeable. So if you have two windows with the same title
* that should be distinguished for session management purposes, you
- * should set the role on those windows. It doesn't matter what string
+ * should set the role on those windows. It doesn’t matter what string
* you use for the role, as long as you have a different role for each
* non-interchangeable kind of window.
*
@@ -9665,9 +9665,9 @@ gdk_window_get_frame_extents (GdkWindow *window,
* @override_redirect: %TRUE if window should be override redirect
*
* An override redirect window is not under the control of the window manager.
- * This means it won't have a titlebar, won't be minimizable, etc. - it will
+ * This means it won’t have a titlebar, won’t be minimizable, etc. - it will
* be entirely under the control of the application. The window manager
- * can't see the override redirect window at all.
+ * can’t see the override redirect window at all.
*
* Override redirect should only be used for short-lived temporary
* windows, such as popup menus. #GtkMenu uses an override redirect
@@ -9687,7 +9687,7 @@ gdk_window_set_override_redirect (GdkWindow *window,
* @accept_focus: %TRUE if the window should receive input focus
*
* Setting @accept_focus to %FALSE hints the desktop environment that the
- * window doesn't want to receive input focus.
+ * window doesn’t want to receive input focus.
*
* On X, it is the responsibility of the window manager to interpret this
* hint. ICCCM-compliant window manager usually respect it.
@@ -9707,8 +9707,8 @@ gdk_window_set_accept_focus (GdkWindow *window,
* @focus_on_map: %TRUE if the window should receive input focus when mapped
*
* Setting @focus_on_map to %FALSE hints the desktop environment that the
- * window doesn't want to receive input focus when it is mapped.
- * focus_on_map should be turned off for windows that aren't triggered
+ * window doesn’t want to receive input focus when it is mapped.
+ * focus_on_map should be turned off for windows that aren’t triggered
* interactively (such as popups from network activity).
*
* On X, it is the responsibility of the window manager to interpret
@@ -9857,7 +9857,7 @@ gdk_window_deiconify (GdkWindow *window)
* On the X11 platform, this function depends on window manager
* support, so may have no effect with many window managers. However,
* GDK will do the best it can to convince the window manager to stick
- * the window. For window managers that don't support this operation,
+ * the window. For window managers that don’t support this operation,
* there’s nothing you can do to force it to happen.
*
**/
@@ -9890,8 +9890,8 @@ gdk_window_unstick (GdkWindow *window)
*
* On X11, asks the window manager to maximize @window, if the window
* manager supports this operation. Not all window managers support
- * this, and some deliberately ignore it or don't have a concept of
- * “maximized”; so you can't rely on the maximization actually
+ * this, and some deliberately ignore it or don’t have a concept of
+ * “maximized”; so you can’t rely on the maximization actually
* happening. But it will happen with most standard window managers,
* and GDK makes a best effort to get it to happen.
*
@@ -9908,13 +9908,13 @@ gdk_window_maximize (GdkWindow *window)
* gdk_window_unmaximize:
* @window: a toplevel #GdkWindow
*
- * Unmaximizes the window. If the window wasn't maximized, then this
+ * Unmaximizes the window. If the window wasn’t maximized, then this
* function does nothing.
*
* On X11, asks the window manager to unmaximize @window, if the
* window manager supports this operation. Not all window managers
- * support this, and some deliberately ignore it or don't have a
- * concept of “maximized”; so you can't rely on the unmaximization
+ * support this, and some deliberately ignore it or don’t have a
+ * concept of “maximized”; so you can’t rely on the unmaximization
* actually happening. But it will happen with most standard window
* managers, and GDK makes a best effort to get it to happen.
*
@@ -9940,7 +9940,7 @@ gdk_window_unmaximize (GdkWindow *window)
* On X11, asks the window manager to put @window in a fullscreen
* state, if the window manager supports this operation. Not all
* window managers support this, and some deliberately ignore it or
- * don't have a concept of “fullscreen”; so you can't rely on the
+ * don’t have a concept of “fullscreen”; so you can’t rely on the
* fullscreenification actually happening. But it will happen with
* most standard window managers, and GDK makes a best effort to get
* it to happen.
@@ -9972,7 +9972,7 @@ gdk_window_fullscreen (GdkWindow *window)
* If the XINERAMA extension is not available or not usable, this function
* has no effect.
*
- * Not all window managers support this, so you can't rely on the fullscreen
+ * Not all window managers support this, so you can’t rely on the fullscreen
* window to span over the multiple monitors when #GDK_FULLSCREEN_ON_ALL_MONITORS
* is specified.
*
@@ -10024,7 +10024,7 @@ gdk_window_get_fullscreen_mode (GdkWindow *window)
* On X11, asks the window manager to move @window out of the fullscreen
* state, if the window manager supports this operation. Not all
* window managers support this, and some deliberately ignore it or
- * don't have a concept of “fullscreen”; so you can't rely on the
+ * don’t have a concept of “fullscreen”; so you can’t rely on the
* unfullscreenification actually happening. But it will happen with
* most standard window managers, and GDK makes a best effort to get
* it to happen.
@@ -10047,8 +10047,8 @@ gdk_window_unfullscreen (GdkWindow *window)
*
* On X11, asks the window manager to keep @window above, if the window
* manager supports this operation. Not all window managers support
- * this, and some deliberately ignore it or don't have a concept of
- * “keep above”; so you can't rely on the window being kept above.
+ * this, and some deliberately ignore it or don’t have a concept of
+ * “keep above”; so you can’t rely on the window being kept above.
* But it will happen with most standard window managers,
* and GDK makes a best effort to get it to happen.
*
@@ -10071,8 +10071,8 @@ gdk_window_set_keep_above (GdkWindow *window,
*
* On X11, asks the window manager to keep @window below, if the window
* manager supports this operation. Not all window managers support
- * this, and some deliberately ignore it or don't have a concept of
- * “keep below”; so you can't rely on the window being kept below.
+ * this, and some deliberately ignore it or don’t have a concept of
+ * “keep below”; so you can’t rely on the window being kept below.
* But it will happen with most standard window managers,
* and GDK makes a best effort to get it to happen.
*
@@ -10184,7 +10184,7 @@ gdk_window_get_decorations(GdkWindow *window,
* The @functions argument is the logical OR of values from the
* #GdkWMFunction enumeration. If the bitmask includes #GDK_FUNC_ALL,
* then the other bits indicate which functions to disable; if
- * it doesn't include #GDK_FUNC_ALL, it indicates which functions to
+ * it doesn’t include #GDK_FUNC_ALL, it indicates which functions to
* enable.
*
**/
@@ -10889,7 +10889,7 @@ gdk_window_set_opaque_region (GdkWindow *window,
* around their frames for effects like shadows and invisible borders.
* Window managers that want to maximize windows or snap to edges need
* to know where the extents of the actual frame lie, so that users
- * don't feel like windows are snapping against random invisible edges.
+ * don’t feel like windows are snapping against random invisible edges.
*
* Note that this property is automatically updated by GTK+, so this
* function should only be used by applications which do not use GTK+
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h
index 95bdca52d9..d6c72052a3 100644
--- a/gdk/gdkwindow.h
+++ b/gdk/gdkwindow.h
@@ -48,7 +48,7 @@ typedef struct _GdkWindowRedirect GdkWindowRedirect;
* @GDK_INPUT_OUTPUT windows are the standard kind of window you might expect.
* Such windows receive events and are also displayed on screen.
* @GDK_INPUT_ONLY windows are invisible; they are usually placed above other
- * windows in order to trap or filter the events. You can't draw on
+ * windows in order to trap or filter the events. You can’t draw on
* @GDK_INPUT_ONLY windows.
*/
typedef enum
@@ -344,8 +344,8 @@ typedef enum
* @visual: #GdkVisual for window
* @window_type: type of window
* @cursor: cursor for the window (see gdk_window_set_cursor())
- * @wmclass_name: don't use (see gtk_window_set_wmclass())
- * @wmclass_class: don't use (see gtk_window_set_wmclass())
+ * @wmclass_name: don’t use (see gtk_window_set_wmclass())
+ * @wmclass_class: don’t use (see gtk_window_set_wmclass())
* @override_redirect: %TRUE to bypass the window manager
* @type_hint: a hint of the function of the window
*
diff --git a/gdk/quartz/gdkeventloop-quartz.c b/gdk/quartz/gdkeventloop-quartz.c
index 33f935a81f..ed07e55879 100644
--- a/gdk/quartz/gdkeventloop-quartz.c
+++ b/gdk/quartz/gdkeventloop-quartz.c
@@ -32,7 +32,7 @@
* stages of the GLib main loop (prepare, check, dispatch), and make the
* appropriate calls into GLib.
*
- * Both cases share a single problem: the OS X API’s don't allow us to
+ * Both cases share a single problem: the OS X API’s don’t allow us to
* wait simultaneously for file descriptors and for events. So when we
* need to do a blocking wait that includes file descriptor activity, we
* push the actual work of calling select() to a helper thread (the
@@ -53,7 +53,7 @@
static int current_loop_level = 0;
/* Run loop level at which we acquired ownership of the GLib main
- * loop. See note in run_loop_entry(). -1 means that we don't have
+ * loop. See note in run_loop_entry(). -1 means that we don’t have
* ownership
*/
static int acquired_loop_level = -1;
@@ -96,7 +96,7 @@ static GPollFD event_poll_fd;
/* Current NSEvents that we've gotten from Cocoa but haven't yet converted
* to GdkEvents. We wait until our dispatch() function to do the conversion
* since the conversion can conceivably cause signals to be emmitted
- * or other things that shouldn't happen inside a poll function.
+ * or other things that shouldn’t happen inside a poll function.
*/
static GQueue *current_events;
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index fa65b2c0aa..71605e6021 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -2275,7 +2275,7 @@ gdk_wayland_window_get_wl_surface (GdkWindow *window)
*
* A good example would be writing a panel or on-screen-keyboard as an
* out-of-process helper - as opposed to having those in the compositor
- * process. In this case the underlying surface isn't an xdg_shell
+ * process. In this case the underlying surface isn’t an xdg_shell
* surface and the panel or OSK client need to identify the wl_surface
* as a panel or OSK to the compositor. The assumption is that the
* compositor will expose a private interface to the special client
diff --git a/gdk/win32/gdkdnd-win32.c b/gdk/win32/gdkdnd-win32.c
index d74e74c9a0..9646674693 100644
--- a/gdk/win32/gdkdnd-win32.c
+++ b/gdk/win32/gdkdnd-win32.c
@@ -48,8 +48,8 @@
*
* As such, the data type conversion from gdk selection targets to OLE2 CF_* data
* type specifiers is partially hardwired. Fixing this is complicated by (a) the
- * fact that the widget’s declared selection types aren't accessible in calls here
- * that need to declare the corresponding OLE2 data types, and (b) there isn't a
+ * fact that the widget’s declared selection types aren’t accessible in calls here
+ * that need to declare the corresponding OLE2 data types, and (b) there isn’t a
* 1-1 correspondence between gdk target types and OLE2 types. The former needs
* some redesign in gtk dnd (something a gdk/gtk expert should do; I have tried
* and failed!). As an example of the latter: gdk STRING, TEXT, COMPOUND_TEXT map
@@ -62,7 +62,7 @@
* Note that in combination with another hack originated by Archaeopteryx
* Software, the text conversions here may go to utf-8 unicode as the standard
* within-gtk target or to single-byte ascii when the USE_ACP_TEXT compilation
- * flag is TRUE. This mode was added to support applications that aren't using
+ * flag is TRUE. This mode was added to support applications that aren’t using
* utf-8 across the gtk/gdk API but instead use single-byte ascii according to
* the current Windows code page. See gdkim-win32.c for more info on that.
*
diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c
index 9757da8ea8..59292d5973 100644
--- a/gdk/win32/gdkevents-win32.c
+++ b/gdk/win32/gdkevents-win32.c
@@ -26,7 +26,7 @@
*/
/* Cannot use TrackMouseEvent, as the stupid WM_MOUSELEAVE message
- * doesn't tell us where the mouse has gone. Thus we cannot use it to
+ * doesn’t tell us where the mouse has gone. Thus we cannot use it to
* generate a correct GdkNotifyType. Pity, as using TrackMouseEvent
* otherwise would make it possible to reliably generate
* GDK_LEAVE_NOTIFY events, which would help get rid of those pesky
@@ -1014,7 +1014,7 @@ apply_event_filters (GdkWindow *window,
* with this one. And etc, up the chain until we hit an ancestor that has no
* transient owner.
*
- * It would be a good idea if applications don't chain transient windows
+ * It would be a good idea if applications don’t chain transient windows
* together. There’s a limit to how much evil GTK can try to shield you
* from.
*/
diff --git a/gdk/win32/gdkmain-win32.c b/gdk/win32/gdkmain-win32.c
index 459b0f5b61..905c729fab 100644
--- a/gdk/win32/gdkmain-win32.c
+++ b/gdk/win32/gdkmain-win32.c
@@ -157,9 +157,9 @@ _gdk_other_api_failed (const gchar *where,
* Like g_strdup_printf, but to a static buffer. Return value does not
* have to be g_free()d. The buffer is of bounded size and reused
* cyclically. Thus the return value is valid only until that part of
- * the buffer happens to get reused. This doesn't matter as this
+ * the buffer happens to get reused. This doesn’t matter as this
* function’s return value is used in debugging output right after the call,
- * and the return value isn't used after that.
+ * and the return value isn’t used after that.
*/
static gchar *
static_printf (const gchar *format,
diff --git a/gdk/x11/gdkapplaunchcontext-x11.c b/gdk/x11/gdkapplaunchcontext-x11.c
index 18a3e7e686..7713922a0b 100644
--- a/gdk/x11/gdkapplaunchcontext-x11.c
+++ b/gdk/x11/gdkapplaunchcontext-x11.c
@@ -116,15 +116,15 @@ end_startup_notification (GdkDisplay *display,
/* This should be fairly long, as it's confusing to users if a startup
- * ends when it shouldn't (it appears that the startup failed, and
+ * ends when it shouldn’t (it appears that the startup failed, and
* they have to relaunch the app). Also the timeout only matters when
- * there are bugs and apps don't end their own startup sequence.
+ * there are bugs and apps don’t end their own startup sequence.
*
* This timeout is a "last resort" timeout that ignores whether the
* startup sequence has shown activity or not. Metacity and the
* tasklist have smarter, and correspondingly able-to-be-shorter
- * timeouts. The reason our timeout is dumb is that we don't monitor
- * the sequence (don't use an SnMonitorContext)
+ * timeouts. The reason our timeout is dumb is that we don’t monitor
+ * the sequence (don’t use an SnMonitorContext)
*/
#define STARTUP_TIMEOUT_LENGTH_SECONDS 30
#define STARTUP_TIMEOUT_LENGTH (STARTUP_TIMEOUT_LENGTH_SECONDS * 1000)
diff --git a/gdk/x11/gdkdevicemanager-x11.c b/gdk/x11/gdkdevicemanager-x11.c
index 0dae46d083..602a766bba 100644
--- a/gdk/x11/gdkdevicemanager-x11.c
+++ b/gdk/x11/gdkdevicemanager-x11.c
@@ -85,7 +85,7 @@ _gdk_x11_device_manager_new (GdkDisplay *display)
* Returns the #GdkDevice that wraps the given device ID.
*
* Returns: (transfer none) (allow-none) (type GdkX11DeviceCore): The #GdkDevice wrapping the device ID,
- * or %NULL if the given ID doesn't currently represent a device.
+ * or %NULL if the given ID doesn’t currently represent a device.
*
* Since: 3.2
**/
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index cd2215a944..1465930069 100644
--- a/gdk/x11/gdkdisplay-x11.c
+++ b/gdk/x11/gdkdisplay-x11.c
@@ -2474,7 +2474,7 @@ gdk_x11_register_standard_event_type (GdkDisplay *display,
/* look up the extension name for a given major opcode. grubs around in
* xlib to do it since a) it’s already cached there b) XQueryExtension
- * emits protocol so we can't use it in an error handler.
+ * emits protocol so we can’t use it in an error handler.
*/
static const char *
_gdk_x11_decode_request_code(Display *dpy, int code)
@@ -2743,7 +2743,7 @@ gdk_x11_display_set_window_scale (GdkDisplay *display,
* the error is known to have occurred or not occurred,
* so the error code can be returned.
*
- * If you don't need to use the return value,
+ * If you don’t need to use the return value,
* gdk_x11_display_error_trap_pop_ignored() would be more efficient.
*
* See gdk_error_trap_pop() for the all-displays-at-once
diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c
index 6415abf176..311c9b304d 100644
--- a/gdk/x11/gdkdnd-x11.c
+++ b/gdk/x11/gdkdnd-x11.c
@@ -1470,7 +1470,7 @@ xdnd_read_actions (GdkX11DragContext *context_x11)
/* We have to make sure that the XdndActionList we keep internally
* is up to date with the XdndActionList on the source window
- * because we get no notification, because Xdnd wasn't meant
+ * because we get no notification, because Xdnd wasn’t meant
* to continually send actions. So we select on PropertyChangeMask
* and add this filter.
*/
diff --git a/gdk/x11/gdkproperty-x11.c b/gdk/x11/gdkproperty-x11.c
index 33a48b13f4..01f9e3bc3b 100644
--- a/gdk/x11/gdkproperty-x11.c
+++ b/gdk/x11/gdkproperty-x11.c
@@ -403,11 +403,11 @@ gdk_x11_get_xatom_by_name (const gchar *atom_name)
*
* Returns the name of an X atom for its display. This
* function is meant mainly for debugging, so for convenience, unlike
- * XAtomName() and gdk_atom_name(), the result doesn't need to
+ * XAtomName() and gdk_atom_name(), the result doesn’t need to
* be freed.
*
* Return value: name of the X atom; this string is owned by GDK,
- * so it shouldn't be modifed or freed.
+ * so it shouldn’t be modifed or freed.
*
* Since: 2.2
**/
@@ -427,11 +427,11 @@ gdk_x11_get_xatom_name_for_display (GdkDisplay *display,
* Returns the name of an X atom for GDK’s default display. This
* function is meant mainly for debugging, so for convenience, unlike
* XAtomName() and gdk_atom_name(), the result
- * doesn't need to be freed. Also, this function will never return %NULL,
+ * doesn’t need to be freed. Also, this function will never return %NULL,
* even if @xatom is invalid.
*
* Return value: name of the X atom; this string is owned by GTK+,
- * so it shouldn't be modifed or freed.
+ * so it shouldn’t be modifed or freed.
**/
const gchar *
gdk_x11_get_xatom_name (Atom xatom)
diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c
index 3e5b9ad722..3bab765f7f 100644
--- a/gdk/x11/gdkscreen-x11.c
+++ b/gdk/x11/gdkscreen-x11.c
@@ -1546,7 +1546,7 @@ fetch_net_wm_check_window (GdkScreen *screen)
* [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.
*
* When using this function, keep in mind that the window manager
- * can change over time; so you shouldn't use this function in
+ * can change over time; so you shouldn’t use this function in
* a way that impacts persistent application state. A common bug
* is that your application can start up before the window manager
* does when the user logs in, and before the window manager starts
diff --git a/gdk/x11/gdkselection-x11.c b/gdk/x11/gdkselection-x11.c
index c030ba5e11..b8a682eeaa 100644
--- a/gdk/x11/gdkselection-x11.c
+++ b/gdk/x11/gdkselection-x11.c
@@ -69,7 +69,7 @@ _gdk_x11_selection_window_destroyed (GdkWindow *window)
}
/* We only pass through those SelectionClear events that actually
- * reflect changes to the selection owner that we didn't make ourself.
+ * reflect changes to the selection owner that we didn’t make ourself.
*/
gboolean
_gdk_x11_selection_filter_clear_event (XSelectionClearEvent *event)
diff --git a/gdk/x11/gdkvisual-x11.c b/gdk/x11/gdkvisual-x11.c
index 0898a9f6b9..865f67c439 100644
--- a/gdk/x11/gdkvisual-x11.c
+++ b/gdk/x11/gdkvisual-x11.c
@@ -477,7 +477,7 @@ _gdk_x11_screen_list_visuals (GdkScreen *screen)
* Looks up the #GdkVisual for a particular screen and X Visual ID.
*
* Returns: (transfer none) (type GdkX11Visual): the #GdkVisual (owned by the screen
- * object), or %NULL if the visual ID wasn't found.
+ * object), or %NULL if the visual ID wasn’t found.
*
* Since: 2.2
*/
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 09ddb430be..ac2a1b1c72 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -1187,7 +1187,7 @@ x_event_mask_to_gdk_event_mask (long mask)
*
* Return value: (transfer full): a #GdkWindow wrapper for the native
* window, or %NULL if the window has been destroyed. The wrapper
- * will be newly created, if one doesn't exist already.
+ * will be newly created, if one doesn’t exist already.
*
* Since: 2.24
*/