[gtk+] docs: use apostrophes in *n't
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: use apostrophes in *n't
- Date: Fri, 7 Feb 2014 19:41:53 +0000 (UTC)
commit e34bd4137d4fba33b2cbea927fdcc829b1983aaa
Author: William Jon McCann <william jon mccann gmail com>
Date: Fri Feb 7 13:32:47 2014 -0500
docs: use apostrophes in *n't
gdk/broadway/broadway-buffer.c | 2 +-
gdk/gdk.c | 12 +++---
gdk/gdkdeprecated.c | 2 +-
gdk/gdkdevice.c | 6 ++--
gdk/gdkdevicemanager.c | 6 ++--
gdk/gdkdisplay.c | 4 +-
gdk/gdkdisplaymanager.c | 2 +-
gdk/gdkdnd.h | 2 +-
gdk/gdkevents.c | 6 ++--
gdk/gdkevents.h | 2 +-
gdk/gdkkeys.c | 6 ++--
gdk/gdkoffscreenwindow.c | 2 +-
gdk/gdkpixbuf-drawable.c | 2 +-
gdk/gdkproperty.c | 2 +-
gdk/gdkscreen.c | 6 ++--
gdk/gdkwindow.c | 72 ++++++++++++++++++------------------
gdk/gdkwindow.h | 6 ++--
gdk/quartz/gdkeventloop-quartz.c | 6 ++--
gdk/wayland/gdkwindow-wayland.c | 2 +-
gdk/win32/gdkdnd-win32.c | 6 ++--
gdk/win32/gdkevents-win32.c | 4 +-
gdk/win32/gdkmain-win32.c | 4 +-
gdk/x11/gdkapplaunchcontext-x11.c | 8 ++--
gdk/x11/gdkdevicemanager-x11.c | 2 +-
gdk/x11/gdkdisplay-x11.c | 4 +-
gdk/x11/gdkdnd-x11.c | 2 +-
gdk/x11/gdkproperty-x11.c | 8 ++--
gdk/x11/gdkscreen-x11.c | 2 +-
gdk/x11/gdkselection-x11.c | 2 +-
gdk/x11/gdkvisual-x11.c | 2 +-
gdk/x11/gdkwindow-x11.c | 2 +-
gtk/deprecated/gtkaction.c | 10 +++---
gtk/deprecated/gtkactiongroup.c | 2 +-
gtk/deprecated/gtkcolorsel.c | 2 +-
gtk/deprecated/gtkfontsel.c | 2 +-
gtk/deprecated/gtkgradient.c | 2 +-
gtk/deprecated/gtkhbox.c | 2 +-
gtk/deprecated/gtkiconfactory.c | 24 ++++++------
gtk/deprecated/gtkiconfactory.h | 2 +-
gtk/deprecated/gtkrc.c | 6 ++--
gtk/deprecated/gtkstock.c | 2 +-
gtk/deprecated/gtkstyle.c | 8 ++--
gtk/deprecated/gtksymboliccolor.c | 4 +-
gtk/deprecated/gtkuimanager.c | 2 +-
gtk/deprecated/gtkvbox.c | 2 +-
gtk/fnmatch.c | 2 +-
gtk/gtkaccelgroup.c | 2 +-
gtk/gtkaccelmap.c | 8 ++--
gtk/gtkalignment.c | 2 +-
gtk/gtkassistant.c | 2 +-
gtk/gtkassistant.h | 2 +-
gtk/gtkbitmaskprivate.h | 2 +-
gtk/gtkbuilder.c | 2 +-
gtk/gtkbuilder.h | 10 +++---
gtk/gtkbutton.c | 6 ++--
gtk/gtkcalendar.c | 2 +-
gtk/gtkcellrenderer.c | 4 +-
gtk/gtkcellrenderer.h | 4 +-
gtk/gtkcheckmenuitem.c | 2 +-
gtk/gtkclipboard-quartz.c | 2 +-
gtk/gtkclipboard.c | 14 ++++----
gtk/gtkcombobox.c | 2 +-
gtk/gtkcontainer.c | 20 +++++-----
gtk/gtkcssparserprivate.h | 2 +-
gtk/gtkcssprovider.c | 4 +-
gtk/gtkcssstyleproperty.c | 2 +-
gtk/gtkdialog.c | 6 ++--
gtk/gtkdnd-quartz.c | 4 +-
gtk/gtkdnd.c | 2 +-
gtk/gtkeditable.c | 2 +-
gtk/gtkentry.c | 12 +++---
gtk/gtkentrycompletion.c | 2 +-
gtk/gtkenums.h | 14 ++++----
gtk/gtkeventbox.c | 8 ++--
gtk/gtkfilechooser.c | 12 +++---
gtk/gtkfilechooserbutton.c | 4 +-
gtk/gtkfilechooserutils.c | 2 +-
gtk/gtkfilechooserwidget.c | 4 +-
gtk/gtkfilefilter.c | 4 +-
gtk/gtkfixed.c | 4 +-
gtk/gtkflowbox.c | 2 +-
gtk/gtkfontchooserutils.c | 2 +-
gtk/gtkframe.c | 2 +-
gtk/gtkicontheme.c | 24 ++++++------
gtk/gtkicontheme.h | 2 +-
gtk/gtkiconview.c | 4 +-
gtk/gtkimage.c | 14 ++++----
gtk/gtkimcontext.c | 2 +-
gtk/gtkimcontextsimple.c | 2 +-
gtk/gtkkeyhash.c | 2 +-
gtk/gtklabel.c | 4 +-
gtk/gtklayout.c | 2 +-
gtk/gtklistbox.c | 6 ++--
gtk/gtkliststore.c | 2 +-
gtk/gtkmain.c | 20 +++++-----
gtk/gtkmenu.c | 2 +-
gtk/gtkmenubutton.c | 2 +-
gtk/gtkmenushell.c | 10 +++---
gtk/gtkmessagedialog.c | 2 +-
gtk/gtkmodules.c | 2 +-
gtk/gtkpagesetupunixdialog.c | 2 +-
gtk/gtkprintjob.c | 2 +-
gtk/gtkprintoperation.c | 4 +-
gtk/gtkprintsettings.c | 2 +-
gtk/gtkprintunixdialog.c | 6 ++--
gtk/gtkprivate.c | 4 +-
gtk/gtkprogressbar.c | 2 +-
gtk/gtkquartz.c | 2 +-
gtk/gtkrecentchooser.c | 4 +-
gtk/gtkrecentchooserutils.c | 2 +-
gtk/gtkrecentfilter.c | 2 +-
gtk/gtkscrolledwindow.c | 10 +++---
gtk/gtksearchbar.c | 2 +-
gtk/gtksearchenginetracker.c | 2 +-
gtk/gtkselection.c | 8 ++--
gtk/gtksizegroup-private.h | 2 +-
gtk/gtksizegroup.c | 2 +-
gtk/gtkstatusicon.c | 4 +-
gtk/gtkstyleprovider.c | 2 +-
gtk/gtktextbtree.c | 2 +-
gtk/gtktextbuffer.c | 14 ++++----
gtk/gtktextiter.c | 28 +++++++-------
gtk/gtktextiter.h | 4 +-
gtk/gtktextlayout.c | 2 +-
gtk/gtktextsegment.c | 2 +-
gtk/gtktexttagtable.c | 4 +-
gtk/gtktextview.c | 16 ++++----
gtk/gtkthemingengine.c | 2 +-
gtk/gtktogglebutton.c | 2 +-
gtk/gtktoolbar.c | 4 +-
gtk/gtktoolbutton.c | 2 +-
gtk/gtktreednd.c | 6 ++--
gtk/gtktreemodel.c | 10 +++---
gtk/gtktreemodelfilter.c | 8 ++--
gtk/gtktreemodelsort.c | 6 ++--
gtk/gtktreesortable.c | 2 +-
gtk/gtktreeview.c | 8 ++--
gtk/gtktreeviewcolumn.c | 2 +-
gtk/gtkwidget.c | 64 ++++++++++++++++----------------
gtk/gtkwindow.c | 72 ++++++++++++++++++------------------
140 files changed, 436 insertions(+), 436 deletions(-)
---
diff --git a/gdk/broadway/broadway-buffer.c b/gdk/broadway/broadway-buffer.c
index 342187d..f1ce426 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 8427e32..1e57afd 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 c735143..56a9ddc 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 a9ecf39..1660923 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 63d4fff..e9f9679 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 acea8bd..2fd423f 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 e17c22c..19df8b0 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 127a9eb..f5ad510 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 11a8064..264dd4a 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 aebca9e..3dd67e7 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 145a2e0..63e92bf 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" -->
- * /* XXX Don't do this XXX */
+ * /* XXX Don’t do this XXX */
* if (keyval == accel_keyval &&
* (event->state & ~consumed & ALL_ACCELS_MASK) == (accel_mods & ~consumed))
* /* Accelerator was pressed */
diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c
index 22d1004..cd32d59 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 2bf954b..f6a8dc3 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 9453c95..01ef94e 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 f54dcca..10afdd1 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 407695c..ed7f169 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 95bdca5..d6c7205 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 33f935a..ed07e55 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 fa65b2c..71605e6 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 d74e74c..9646674 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 9757da8..59292d5 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 459b0f5..905c729 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 18a3e7e..7713922 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 0dae46d..602a766 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 cd2215a..1465930 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 6415abf..311c9b3 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 33a48b1..01f9e3b 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 3e5b9ad..3bab765 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 c030ba5..b8a682e 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 0898a9f..865f67c 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 09ddb43..ac2a1b1 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
*/
diff --git a/gtk/deprecated/gtkaction.c b/gtk/deprecated/gtkaction.c
index 0a6d672..859f29a 100644
--- a/gtk/deprecated/gtkaction.c
+++ b/gtk/deprecated/gtkaction.c
@@ -1171,7 +1171,7 @@ gtk_action_is_sensitive (GtkAction *action)
* gtk_action_get_sensitive:
* @action: the action object
*
- * Returns whether the action itself is sensitive. Note that this doesn't
+ * Returns whether the action itself is sensitive. Note that this doesn’t
* necessarily mean effective sensitivity. See gtk_action_is_sensitive()
* for that.
*
@@ -1196,7 +1196,7 @@ gtk_action_get_sensitive (GtkAction *action)
* @sensitive: %TRUE to make the action sensitive
*
* Sets the :sensitive property of the action to @sensitive. Note that
- * this doesn't necessarily mean effective sensitivity. See
+ * this doesn’t necessarily mean effective sensitivity. See
* gtk_action_is_sensitive()
* for that.
*
@@ -1251,7 +1251,7 @@ gtk_action_is_visible (GtkAction *action)
* gtk_action_get_visible:
* @action: the action object
*
- * Returns whether the action itself is visible. Note that this doesn't
+ * Returns whether the action itself is visible. Note that this doesn’t
* necessarily mean effective visibility. See gtk_action_is_sensitive()
* for that.
*
@@ -1276,7 +1276,7 @@ gtk_action_get_visible (GtkAction *action)
* @visible: %TRUE to make the action visible
*
* Sets the :visible property of the action to @visible. Note that
- * this doesn't necessarily mean effective visibility. See
+ * this doesn’t necessarily mean effective visibility. See
* gtk_action_is_visible()
* for that.
*
@@ -1995,7 +1995,7 @@ gtk_action_set_accel_group (GtkAction *action,
*
* Since multiple proxies may independently trigger the installation
* of the accelerator, the @action counts the number of times this
- * function has been called and doesn't remove the accelerator until
+ * function has been called and doesn’t remove the accelerator until
* gtk_action_disconnect_accelerator() has been called as many times.
*
* Since: 2.4
diff --git a/gtk/deprecated/gtkactiongroup.c b/gtk/deprecated/gtkactiongroup.c
index 6b9b9ad..f91fb87 100644
--- a/gtk/deprecated/gtkactiongroup.c
+++ b/gtk/deprecated/gtkactiongroup.c
@@ -66,7 +66,7 @@
* a custom <accelerator> element, which has attributes named key and
* modifiers and allows to specify accelerators. This is similar to the
* <accelerator> element of #GtkWidget, the main difference is that
- * it doesn't allow you to specify a signal.
+ * it doesn’t allow you to specify a signal.
*
* ## A #GtkDialog UI definition fragment. ##
* |[
diff --git a/gtk/deprecated/gtkcolorsel.c b/gtk/deprecated/gtkcolorsel.c
index fb5741b..df4e3f2 100644
--- a/gtk/deprecated/gtkcolorsel.c
+++ b/gtk/deprecated/gtkcolorsel.c
@@ -727,7 +727,7 @@ gtk_color_selection_unrealize (GtkWidget *widget)
}
/* We override show-all since we have internal widgets that
- * shouldn't be shown when you call show_all(), like the
+ * shouldn’t be shown when you call show_all(), like the
* palette and opacity sliders.
*/
static void
diff --git a/gtk/deprecated/gtkfontsel.c b/gtk/deprecated/gtkfontsel.c
index 1553bd7..82a95d2 100644
--- a/gtk/deprecated/gtkfontsel.c
+++ b/gtk/deprecated/gtkfontsel.c
@@ -1519,7 +1519,7 @@ gtk_font_selection_select_font_desc (GtkFontSelection *fontsel,
* @fontsel is inserted in a toplevel window before you call this function.
*
* Return value: %TRUE if the font could be set successfully; %FALSE if no
- * such font exists or if the @fontsel doesn't belong to a particular
+ * such font exists or if the @fontsel doesn’t belong to a particular
* screen yet.
*
* Deprecated: 3.2: Use #GtkFontChooser
diff --git a/gtk/deprecated/gtkgradient.c b/gtk/deprecated/gtkgradient.c
index 7021d14..19dc034 100644
--- a/gtk/deprecated/gtkgradient.c
+++ b/gtk/deprecated/gtkgradient.c
@@ -249,7 +249,7 @@ gtk_gradient_unref (GtkGradient *gradient)
*
* If @gradient is resolvable, @resolved_gradient will be filled in
* with the resolved gradient as a cairo_pattern_t, and %TRUE will
- * be returned. Generally, if @gradient can't be resolved, it is
+ * be returned. Generally, if @gradient can’t be resolved, it is
* due to it being defined on top of a named color that doesn't
* exist in @props.
*
diff --git a/gtk/deprecated/gtkhbox.c b/gtk/deprecated/gtkhbox.c
index 77ede7f..433ba75 100644
--- a/gtk/deprecated/gtkhbox.c
+++ b/gtk/deprecated/gtkhbox.c
@@ -50,7 +50,7 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
* from #GtkBox. No further changes are needed, since the default
* value of the #GtkOrientable:orientation property is
* %GTK_ORIENTATION_HORIZONTAL.
- * If you don't need first-child or last-child styling, and want your code
+ * If you don’t need first-child or last-child styling, and want your code
* to be future-proof, the recommendation is to switch to #GtkGrid instead
* of nested boxes. For more information about migrating to #GtkGrid,
* see [Migrating from other containers to GtkGrid][gtk-migrating-GtkGrid].
diff --git a/gtk/deprecated/gtkiconfactory.c b/gtk/deprecated/gtkiconfactory.c
index efa7eb0..9ab1b64 100644
--- a/gtk/deprecated/gtkiconfactory.c
+++ b/gtk/deprecated/gtkiconfactory.c
@@ -58,7 +58,7 @@
* different sizes and widget states). Icons in an icon factory are named by a
* stock ID, which is a simple string identifying the icon. Each #GtkStyle has a
* list of #GtkIconFactory derived from the current theme; those icon factories
- * are consulted first when searching for an icon. If the theme doesn't set a
+ * are consulted first when searching for an icon. If the theme doesn’t set a
* particular icon, GTK+ looks for the icon in a list of default icon factories,
* maintained by gtk_icon_factory_add_default() and
* gtk_icon_factory_remove_default(). Applications with icons should add a default
@@ -259,7 +259,7 @@ gtk_icon_factory_finalize (GObject *object)
* stock ID, which is a simple string identifying the icon. Each
* #GtkStyle has a list of #GtkIconFactory<!-- -->s derived from the current
* theme; those icon factories are consulted first when searching for
- * an icon. If the theme doesn't set a particular icon, GTK+ looks for
+ * an icon. If the theme doesn’t set a particular icon, GTK+ looks for
* the icon in a list of default icon factories, maintained by
* gtk_icon_factory_add_default() and
* gtk_icon_factory_remove_default(). Applications with icons should
@@ -755,7 +755,7 @@ icon_size_lookup_intern (GtkIconSize size,
* modified by user preferences for a particular
* #GtkSettings. Normally @size would be
* #GTK_ICON_SIZE_MENU, #GTK_ICON_SIZE_BUTTON, etc. This function
- * isn't normally needed, gtk_widget_render_icon_pixbuf() is the usual
+ * isn’t normally needed, gtk_widget_render_icon_pixbuf() is the usual
* way to get an icon for rendering, then just look at the size of
* the rendered pixbuf. The rendered pixbuf may not even correspond to
* the width/height returned by gtk_icon_size_lookup(), because themes
@@ -787,7 +787,7 @@ gtk_icon_size_lookup_for_settings (GtkSettings *settings,
*
* Obtains the pixel size of a semantic icon size @size:
* #GTK_ICON_SIZE_MENU, #GTK_ICON_SIZE_BUTTON, etc. This function
- * isn't normally needed, gtk_icon_theme_load_icon() is the usual
+ * isn’t normally needed, gtk_icon_theme_load_icon() is the usual
* way to get an icon for rendering, then just look at the size of
* the rendered pixbuf. The rendered pixbuf may not even correspond to
* the width/height returned by gtk_icon_size_lookup(), because themes
@@ -1055,7 +1055,7 @@ gtk_icon_set_new (void)
* @pixbuf: a #GdkPixbuf
*
* Creates a new #GtkIconSet with @pixbuf as the default/fallback
- * source image. If you don't add any additional #GtkIconSource to the
+ * source image. If you don’t add any additional #GtkIconSource to the
* icon set, all variants of the icon will be created from @pixbuf,
* using scaling, pixelation, etc. as required to adjust the icon size
* or make the icon look insensitive/prelighted.
@@ -1542,12 +1542,12 @@ G_GNUC_END_IGNORE_DEPRECATIONS;
* @icon_set: a #GtkIconSet
* @context: a #GtkStyleContext
* @size: (type int): icon size. A size of (GtkIconSize)-1
- * means render at the size of the source and don't scale.
+ * means render at the size of the source and don’t scale.
*
* Renders an icon using gtk_render_icon_pixbuf(). In most cases,
* gtk_widget_render_icon_pixbuf() is better, since it automatically provides
* most of the arguments from the current widget settings. This
- * function never returns %NULL; if the icon can't be rendered
+ * function never returns %NULL; if the icon can’t be rendered
* (perhaps because an image file fails to load), a default "missing
* image" icon will be returned instead.
*
@@ -1573,14 +1573,14 @@ gtk_icon_set_render_icon_pixbuf (GtkIconSet *icon_set,
* @icon_set: a #GtkIconSet
* @context: a #GtkStyleContext
* @size: (type int): icon size. A size of (GtkIconSize)-1
- * means render at the size of the source and don't scale.
+ * means render at the size of the source and don’t scale.
* @scale: the window scale to render for
* @for_window: (allow-none): #GdkWindow to optimize drawing for, or %NULL
*
* Renders an icon using gtk_render_icon_pixbuf() and converts it to a
* cairo surface.
*
- * This function never returns %NULL; if the icon can't be rendered
+ * This function never returns %NULL; if the icon can’t be rendered
* (perhaps because an image file fails to load), a default "missing
* image" icon will be returned instead.
*
@@ -1615,7 +1615,7 @@ gtk_icon_set_render_icon_surface (GtkIconSet *icon_set,
* @direction: text direction
* @state: widget state
* @size: (type int): icon size. A size of (GtkIconSize)-1
- * means render at the size of the source and don't scale.
+ * means render at the size of the source and don’t scale.
* @widget: (allow-none): widget that will display the icon, or %NULL.
* The only use that is typically made of this
* is to determine the appropriate #GdkScreen.
@@ -1626,7 +1626,7 @@ gtk_icon_set_render_icon_surface (GtkIconSet *icon_set,
* Renders an icon using gtk_style_render_icon(). In most cases,
* gtk_widget_render_icon() is better, since it automatically provides
* most of the arguments from the current widget settings. This
- * function never returns %NULL; if the icon can't be rendered
+ * function never returns %NULL; if the icon can’t be rendered
* (perhaps because an image file fails to load), a default "missing
* image" icon will be returned instead.
*
@@ -2720,7 +2720,7 @@ _gtk_icon_set_invalidate_caches (void)
* _gtk_icon_factory_list_ids:
*
* Gets all known IDs stored in an existing icon factory.
- * The strings in the returned list aren't copied.
+ * The strings in the returned list aren’t copied.
* The list itself should be freed.
*
* Return value: List of ids in icon factories
diff --git a/gtk/deprecated/gtkiconfactory.h b/gtk/deprecated/gtkiconfactory.h
index 4e47c77..35ee4c1 100644
--- a/gtk/deprecated/gtkiconfactory.h
+++ b/gtk/deprecated/gtkiconfactory.h
@@ -96,7 +96,7 @@ GDK_DEPRECATED_IN_3_10
GtkIconSet* gtk_icon_factory_lookup_default (const gchar *stock_id);
/* Get preferred real size from registered semantic size. Note that
- * themes SHOULD use this size, but they aren't required to; for size
+ * themes SHOULD use this size, but they aren’t required to; for size
* requests and such, you should get the actual pixbuf from the icon
* set and see what size was rendered.
*
diff --git a/gtk/deprecated/gtkrc.c b/gtk/deprecated/gtkrc.c
index 6a30f9e..169b599 100644
--- a/gtk/deprecated/gtkrc.c
+++ b/gtk/deprecated/gtkrc.c
@@ -556,7 +556,7 @@
* When selecting an icon source to use, GTK+ will consider text direction most
* important, state second, and size third. It will select the best match based on
* those criteria. If an attribute matches exactly (e.g. you specified
- * `PRELIGHT` or specified the size), GTK+ won't modify the image;
+ * `PRELIGHT` or specified the size), GTK+ won’t modify the image;
* if the attribute matches with a wildcard, GTK+ will scale or modify the image to
* match the state and size the user requested.
*
@@ -1314,7 +1314,7 @@ gtk_rc_style_real_create_style (GtkRcStyle *rc_style)
* both redraw and recompute any cached information about its
* appearance. As an example, it is used when the default font size
* set by the operating system changes. Note that this function
- * doesn't affect widgets that have a style set explicitly on them
+ * doesn’t affect widgets that have a style set explicitly on them
* with gtk_widget_set_style().
*
* Since: 2.4
@@ -1404,7 +1404,7 @@ gtk_rc_get_style (GtkWidget *widget)
* Creates up a #GtkStyle from styles defined in a RC file by providing
* the raw components used in matching. This function may be useful
* when creating pseudo-widgets that should be themed like widgets but
- * don't actually have corresponding GTK+ widgets. An example of this
+ * don’t actually have corresponding GTK+ widgets. An example of this
* would be items inside a GNOME canvas widget.
*
* The action of gtk_rc_get_style() is similar to:
diff --git a/gtk/deprecated/gtkstock.c b/gtk/deprecated/gtkstock.c
index e0bdccd..3b15fad 100644
--- a/gtk/deprecated/gtkstock.c
+++ b/gtk/deprecated/gtkstock.c
@@ -159,7 +159,7 @@ gtk_stock_add (const GtkStockItem *items,
* @items: (array length=n_items): a #GtkStockItem or array of #GtkStockItem
* @n_items: number of items
*
- * Same as gtk_stock_add(), but doesn't copy @items, so
+ * Same as gtk_stock_add(), but doesn’t copy @items, so
* @items must persist until application exit.
*
* Deprecated: 3.10
diff --git a/gtk/deprecated/gtkstyle.c b/gtk/deprecated/gtkstyle.c
index 3fb461c..ab9464f 100644
--- a/gtk/deprecated/gtkstyle.c
+++ b/gtk/deprecated/gtkstyle.c
@@ -1282,7 +1282,7 @@ gtk_style_real_set_background (GtkStyle *style,
* @state: a state
* @size: (type int): the size to render the icon at. A size of
* (GtkIconSize)-1 means render at the size of the source and
- * don't scale.
+ * don’t scale.
* @widget: (allow-none): the widget
* @detail: (allow-none): a style detail
*
@@ -3853,7 +3853,7 @@ gtk_paint_handle (GtkStyle *style,
* Draws an expander as used in #GtkTreeView. @x and @y specify the
* center the expander. The size of the expander is determined by the
* “expander-size” style property of @widget. (If widget is not
- * specified or doesn't have an “expander-size” property, an
+ * specified or doesn’t have an “expander-size” property, an
* unspecified default size will be used, since the caller doesn't
* have sufficient information to position the expander, this is
* likely not useful.) The expander is expander_size pixels tall
@@ -4733,7 +4733,7 @@ gtk_widget_class_path (GtkWidget *widget,
* @widget: a #GtkWidget
* @stock_id: a stock ID
* @size: (type int): a stock size. A size of (GtkIconSize)-1 means
- * render at the size of the source and don't scale (if there are
+ * render at the size of the source and don’t scale (if there are
* multiple source sizes, GTK+ picks one of the available sizes).
* @detail: (allow-none): render detail to pass to theme engine
*
@@ -4750,7 +4750,7 @@ gtk_widget_class_path (GtkWidget *widget,
* freed after use with g_object_unref().
*
* Return value: (transfer full): a new pixbuf, or %NULL if the
- * stock ID wasn't known
+ * stock ID wasn’t known
*
* Deprecated: 3.0: Use gtk_widget_render_icon_pixbuf() instead.
**/
diff --git a/gtk/deprecated/gtksymboliccolor.c b/gtk/deprecated/gtksymboliccolor.c
index f156c6e..6e3bb60 100644
--- a/gtk/deprecated/gtksymboliccolor.c
+++ b/gtk/deprecated/gtksymboliccolor.c
@@ -277,8 +277,8 @@ gtk_symbolic_color_unref (GtkSymbolicColor *color)
*
* If @color is resolvable, @resolved_color will be filled in
* with the resolved color, and %TRUE will be returned. Generally,
- * if @color can't be resolved, it is due to it being defined on
- * top of a named color that doesn't exist in @props.
+ * if @color can’t be resolved, it is due to it being defined on
+ * top of a named color that doesn’t exist in @props.
*
* When @props is %NULL, resolving of named colors will fail, so if
* your @color is or references such a color, this function will
diff --git a/gtk/deprecated/gtkuimanager.c b/gtk/deprecated/gtkuimanager.c
index 38cb16e..e893971 100644
--- a/gtk/deprecated/gtkuimanager.c
+++ b/gtk/deprecated/gtkuimanager.c
@@ -1092,7 +1092,7 @@ gtk_ui_manager_get_accel_group (GtkUIManager *manager)
*
* Looks up a widget by following a path.
* The path consists of the names specified in the XML description of the UI.
- * separated by '/'. Elements which don't have a name or action attribute in
+ * separated by '/'. Elements which don’t have a name or action attribute in
* the XML (e.g. <popup>) can be addressed by their XML element name
* (e.g. "popup"). The root element ("/ui") can be omitted in the path.
*
diff --git a/gtk/deprecated/gtkvbox.c b/gtk/deprecated/gtkvbox.c
index c28f638..993f595 100644
--- a/gtk/deprecated/gtkvbox.c
+++ b/gtk/deprecated/gtkvbox.c
@@ -55,7 +55,7 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
* gtk_orientable_set_orientation (GTK_ORIENTABLE (object),
* GTK_ORIENTATION_VERTICAL);
* ]|
- * If you don't need first-child or last-child styling and want your code
+ * If you don’t need first-child or last-child styling and want your code
* to be future-proof, the recommendation is to switch to #GtkGrid instead
* of nested boxes. For more information about migrating to #GtkGrid,
* see [Migrating from other containers to GtkGrid][gtk-migrating-GtkGrid].
diff --git a/gtk/fnmatch.c b/gtk/fnmatch.c
index 0031331..e67052b 100644
--- a/gtk/fnmatch.c
+++ b/gtk/fnmatch.c
@@ -240,7 +240,7 @@ gtk_fnmatch_intern (const char *pattern,
* it matches, nonzero if not.
*
* GTK+ used to use a old version of GNU fnmatch() that was buggy
- * in various ways and didn't handle UTF-8. The following is
+ * in various ways and didn’t handle UTF-8. The following is
* converted to UTF-8. To simplify the process of making it
* correct, this is special-cased to the combinations of flags
* that gtkfilesel.c uses.
diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c
index 15fa061..11f0b54 100644
--- a/gtk/gtkaccelgroup.c
+++ b/gtk/gtkaccelgroup.c
@@ -44,7 +44,7 @@
*
* A #GtkAccelGroup represents a group of keyboard accelerators,
* typically attached to a toplevel #GtkWindow (with
- * gtk_window_add_accel_group()). Usually you won't need to create a
+ * gtk_window_add_accel_group()). Usually you won’t need to create a
* #GtkAccelGroup directly; instead, when using #GtkUIManager, GTK+
* automatically sets up the accelerators for your menus in the ui
* manager’s #GtkAccelGroup.
diff --git a/gtk/gtkaccelmap.c b/gtk/gtkaccelmap.c
index ff6e417..aca7705 100644
--- a/gtk/gtkaccelmap.c
+++ b/gtk/gtkaccelmap.c
@@ -802,7 +802,7 @@ gtk_accel_map_save (const gchar *file_name)
* map entry which is not filtered out
*
* Loops over the entries in the accelerator map whose accel path
- * doesn't match any of the filters added with gtk_accel_map_add_filter(),
+ * doesn’t match any of the filters added with gtk_accel_map_add_filter(),
* and execute @foreach_func on each. The signature of @foreach_func is
* that of #GtkAccelMapForeach, the @changed parameter indicates whether
* this accelerator was changed during runtime (thus, would need
@@ -873,7 +873,7 @@ gtk_accel_map_foreach_unfiltered (gpointer data,
* are skipped by gtk_accel_map_foreach().
*
* This function is intended for GTK+ modules that create their own
- * menus, but don't want them to be saved into the applications accelerator
+ * menus, but don’t want them to be saved into the applications accelerator
* map dump.
*/
void
@@ -930,7 +930,7 @@ _gtk_accel_map_remove_group (const gchar *accel_path,
* gtk_accel_map_lock_path:
* @accel_path: a valid accelerator path
*
- * Locks the given accelerator path. If the accelerator map doesn't yet contain
+ * Locks the given accelerator path. If the accelerator map doesn’t yet contain
* an entry for @accel_path, a new one is created.
*
* Locking an accelerator path prevents its accelerator from being changed
@@ -1029,7 +1029,7 @@ gtk_accel_map_init (GtkAccelMap *accel_map)
*
* Gets the singleton global #GtkAccelMap object. This object
* is useful only for notification of changes to the accelerator
- * map via the ::changed signal; it isn't a parameter to the
+ * map via the ::changed signal; it isn’t a parameter to the
* other accelerator map functions.
*
* Return value: (transfer none): the global #GtkAccelMap object
diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c
index cb0e965..fc22d5b 100644
--- a/gtk/gtkalignment.c
+++ b/gtk/gtkalignment.c
@@ -32,7 +32,7 @@
*
* The scale settings are used to specify how much the child widget should
* expand to fill the space allocated to the #GtkAlignment.
- * The values can range from 0 (meaning the child doesn't expand at all) to
+ * The values can range from 0 (meaning the child doesn’t expand at all) to
* 1 (meaning the child expands to fill all of the available space).
*
* The align settings are used to place the child widget within the available
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index 25d6e18..5a2c9b7 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -37,7 +37,7 @@
* [completion][gtk-assistant-set-page-complete]
* and [committed][gtk-assistant-commit] status.
*
- * If you have a case that doesn't quite fit in #GtkAssistants way of
+ * If you have a case that doesn’t quite fit in #GtkAssistants way of
* handling buttons, you can use the #GTK_ASSISTANT_PAGE_CUSTOM page
* type and handle buttons yourself.
*
diff --git a/gtk/gtkassistant.h b/gtk/gtkassistant.h
index 0f9de28..a5a5459 100644
--- a/gtk/gtkassistant.h
+++ b/gtk/gtkassistant.h
@@ -64,7 +64,7 @@ G_BEGIN_DECLS
* %GTK_ASSISTANT_PAGE_CONFIRM, %GTK_ASSISTANT_PAGE_SUMMARY or
* %GTK_ASSISTANT_PAGE_PROGRESS to be correct.
*
- * The Cancel button will only be shown if the page isn't “committed”.
+ * The Cancel button will only be shown if the page isn’t “committed”.
* See gtk_assistant_commit() for details.
*/
typedef enum
diff --git a/gtk/gtkbitmaskprivate.h b/gtk/gtkbitmaskprivate.h
index 4a255ef..1c76c9d 100644
--- a/gtk/gtkbitmaskprivate.h
+++ b/gtk/gtkbitmaskprivate.h
@@ -58,7 +58,7 @@ static inline gboolean _gtk_bitmask_intersects (const GtkBitm
/* This is the actual implementation of the functions declared above.
- * We put it in a separate file so people don't get scared from looking at this
+ * We put it in a separate file so people don’t get scared from looking at this
* file when reading source code.
*/
#include "gtkbitmaskprivateimpl.h"
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index e928baf..ea5fd76 100644
--- a/gtk/gtkbuilder.c
+++ b/gtk/gtkbuilder.c
@@ -130,7 +130,7 @@
* gtk_builder_expose_object().
*
* In general, GtkBuilder allows forward references to objects --
- * declared in the local xml; an object doesn't have to be constructed
+ * declared in the local xml; an object doesn’t have to be constructed
* before it can be referred to. The exception to this rule is that an
* object has to be constructed before it can be used as the value of
* a construct-only property.
diff --git a/gtk/gtkbuilder.h b/gtk/gtkbuilder.h
index 65c6276..a548229 100644
--- a/gtk/gtkbuilder.h
+++ b/gtk/gtkbuilder.h
@@ -42,19 +42,19 @@ typedef struct _GtkBuilderPrivate GtkBuilderPrivate;
/**
* GtkBuilderError:
- * @GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION: A type-func attribute didn't name
+ * @GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION: A type-func attribute didn’t name
* a function that returns a #GType.
* @GTK_BUILDER_ERROR_UNHANDLED_TAG: The input contained a tag that #GtkBuilder
- * can't handle.
+ * can’t handle.
* @GTK_BUILDER_ERROR_MISSING_ATTRIBUTE: An attribute that is required by
* #GtkBuilder was missing.
* @GTK_BUILDER_ERROR_INVALID_ATTRIBUTE: #GtkBuilder found an attribute that
- * it doesn't understand.
+ * it doesn’t understand.
* @GTK_BUILDER_ERROR_INVALID_TAG: #GtkBuilder found a tag that
- * it doesn't understand.
+ * it doesn’t understand.
* @GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE: A required property value was
* missing.
- * @GTK_BUILDER_ERROR_INVALID_VALUE: #GtkBuilder couldn't parse
+ * @GTK_BUILDER_ERROR_INVALID_VALUE: #GtkBuilder couldn’t parse
* some attribute value.
* @GTK_BUILDER_ERROR_VERSION_MISMATCH: The input file requires a newer version
* of GTK+.
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index 0a3d820..c05a985 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -1317,7 +1317,7 @@ gtk_button_new_with_label (const gchar *label)
*
* Creates a new button containing an icon from the current icon theme.
*
- * If the icon name isn't known, a “broken image” icon will be
+ * If the icon name isn’t known, a “broken image” icon will be
* displayed instead. If the current icon theme is changed, the icon
* will be updated appropriately.
*
@@ -2463,7 +2463,7 @@ gtk_button_get_use_stock (GtkButton *button)
*
* Sets whether the button will grab focus when it is clicked with the mouse.
* Making mouse clicks not grab focus is useful in places like toolbars where
- * you don't want the keyboard focus removed from the main area of the
+ * you don’t want the keyboard focus removed from the main area of the
* application.
*
* Since: 2.4
@@ -2731,7 +2731,7 @@ gtk_button_grab_notify (GtkWidget *widget,
*
* Set the image of @button to the given widget. The image will be
* displayed if the label text is %NULL or if
- * #GtkButton:always-show-image is %TRUE. You don't have to call
+ * #GtkButton:always-show-image is %TRUE. You don’t have to call
* gtk_widget_show() on @image yourself.
*
* Since: 2.6
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index 070ff28..8e3f807 100644
--- a/gtk/gtkcalendar.c
+++ b/gtk/gtkcalendar.c
@@ -3379,7 +3379,7 @@ gtk_calendar_drag_data_get (GtkWidget *widget,
/* Get/set whether drag_motion requested the drag data and
* drag_data_received should thus not actually insert the data,
- * since the data doesn't result from a drop.
+ * since the data doesn’t result from a drop.
*/
static void
set_status_pending (GdkDragContext *context,
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c
index b58f66c..1b542bb 100644
--- a/gtk/gtkcellrenderer.c
+++ b/gtk/gtkcellrenderer.c
@@ -33,13 +33,13 @@
*
* The #GtkCellRenderer is a base class of a set of objects used for
* rendering a cell to a #cairo_t. These objects are used primarily by
- * the #GtkTreeView widget, though they aren't tied to them in any
+ * the #GtkTreeView widget, though they aren’t tied to them in any
* specific way. It is worth noting that #GtkCellRenderer is not a
* #GtkWidget and cannot be treated as such.
*
* The primary use of a #GtkCellRenderer is for drawing a certain graphical
* elements on a #cairo_t. Typically, one cell renderer is used to
- * draw many cells on the screen. To this extent, it isn't expected that a
+ * draw many cells on the screen. To this extent, it isn’t expected that a
* CellRenderer keep any permanent state around. Instead, any state is set
* just prior to use using #GObjects property system. Then, the
* cell is measured using gtk_cell_renderer_get_size(). Finally, the cell
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h
index 679b21b..71b5465 100644
--- a/gtk/gtkcellrenderer.h
+++ b/gtk/gtkcellrenderer.h
@@ -55,8 +55,8 @@ typedef enum
/**
* GtkCellRendererMode:
* @GTK_CELL_RENDERER_MODE_INERT: The cell is just for display
- * and cannot be interacted with. Note that this doesn't mean that eg. the
- * row being drawn can't be selected -- just that a particular element of
+ * and cannot be interacted with. Note that this doesn’t mean that eg. the
+ * row being drawn can’t be selected -- just that a particular element of
* it cannot be individually modified.
* @GTK_CELL_RENDERER_MODE_ACTIVATABLE: The cell can be clicked.
* @GTK_CELL_RENDERER_MODE_EDITABLE: The cell can be edited or otherwise modified.
diff --git a/gtk/gtkcheckmenuitem.c b/gtk/gtkcheckmenuitem.c
index 54c23bf..7137bc7 100644
--- a/gtk/gtkcheckmenuitem.c
+++ b/gtk/gtkcheckmenuitem.c
@@ -390,7 +390,7 @@ gtk_check_menu_item_toggled (GtkCheckMenuItem *check_menu_item)
* “in between” display. Normally you would turn off the inconsistent
* state again if the user explicitly selects a setting. This has to be
* done manually, gtk_check_menu_item_set_inconsistent() only affects
- * visual appearance, it doesn't affect the semantics of the widget.
+ * visual appearance, it doesn’t affect the semantics of the widget.
*
**/
void
diff --git a/gtk/gtkclipboard-quartz.c b/gtk/gtkclipboard-quartz.c
index a68d1cf..88c39f2 100644
--- a/gtk/gtkclipboard-quartz.c
+++ b/gtk/gtkclipboard-quartz.c
@@ -128,7 +128,7 @@ static GtkClipboard *clipboard_peek (GdkDisplay *display,
/* pasteboardChangedOwner is not called immediately, and it's not called
* reliably. It is somehow documented in the apple api docs, but the docs
- * suck and don't really give clear instructions. Therefore we track
+ * suck and don’t really give clear instructions. Therefore we track
* changeCount in several places below and clear the clipboard if it
* changed.
*/
diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c
index 9c361f4..b7611c5 100644
--- a/gtk/gtkclipboard.c
+++ b/gtk/gtkclipboard.c
@@ -93,7 +93,7 @@
* may take some time. To avoid blocking the user interface, the call
* to request the selection, gtk_clipboard_request_contents() takes a
* callback that will be called when the contents are received (or
- * when the request fails.) If you don't want to deal with providing
+ * when the request fails.) If you don’t want to deal with providing
* a separate callback, you can also use gtk_clipboard_wait_for_contents().
* What this does is run the GLib main loop recursively waiting for
* the contents. This can simplify the code flow, but you still have
@@ -459,7 +459,7 @@ get_clipboard_widget (GdkDisplay *display)
* but actually retrieve the actual timestamp from the server.
* This is a little slower but allows us to make the guarantee
* that the times used by this application will always ascend
- * and we won't get selections being rejected just because
+ * and we won’t get selections being rejected just because
* we are using a correct timestamp from an event, but used
* CurrentTime previously.
*/
@@ -1683,7 +1683,7 @@ gtk_clipboard_get_display (GtkClipboard *clipboard)
* timeouts, etc, may be dispatched during the wait.
*
* This function is a little faster than calling
- * gtk_clipboard_wait_for_text() since it doesn't need to retrieve
+ * gtk_clipboard_wait_for_text() since it doesn’t need to retrieve
* the actual text.
*
* Return value: %TRUE is there is text available, %FALSE otherwise.
@@ -1716,7 +1716,7 @@ gtk_clipboard_wait_is_text_available (GtkClipboard *clipboard)
* timeouts, etc, may be dispatched during the wait.
*
* This function is a little faster than calling
- * gtk_clipboard_wait_for_rich_text() since it doesn't need to retrieve
+ * gtk_clipboard_wait_for_rich_text() since it doesn’t need to retrieve
* the actual text.
*
* Return value: %TRUE is there is rich text available, %FALSE otherwise.
@@ -1754,7 +1754,7 @@ gtk_clipboard_wait_is_rich_text_available (GtkClipboard *clipboard,
* timeouts, etc, may be dispatched during the wait.
*
* This function is a little faster than calling
- * gtk_clipboard_wait_for_image() since it doesn't need to retrieve
+ * gtk_clipboard_wait_for_image() since it doesn’t need to retrieve
* the actual image data.
*
* Return value: %TRUE is there is an image available, %FALSE otherwise.
@@ -1789,7 +1789,7 @@ gtk_clipboard_wait_is_image_available (GtkClipboard *clipboard)
* timeouts, etc, may be dispatched during the wait.
*
* This function is a little faster than calling
- * gtk_clipboard_wait_for_uris() since it doesn't need to retrieve
+ * gtk_clipboard_wait_for_uris() since it doesn’t need to retrieve
* the actual URI data.
*
* Return value: %TRUE is there is an URI list available, %FALSE otherwise.
@@ -1822,7 +1822,7 @@ gtk_clipboard_wait_is_uris_available (GtkClipboard *clipboard)
* @n_targets: (out): location to store number of items in @targets.
*
* Returns a list of targets that are present on the clipboard, or %NULL
- * if there aren't any targets available. The returned list must be
+ * if there aren’t any targets available. The returned list must be
* freed with g_free().
* This function waits for the data to be received using the main
* loop, so events, timeouts, etc, may be dispatched during the wait.
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index cf7bbb4..9f4198b 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -5398,7 +5398,7 @@ gtk_combo_box_get_entry_text_column (GtkComboBox *combo_box)
*
* Sets whether the combo box will grab focus when it is clicked with
* the mouse. Making mouse clicks not grab focus is useful in places
- * like toolbars where you don't want the keyboard focus removed from
+ * like toolbars where you don’t want the keyboard focus removed from
* the main area of the application.
*
* Since: 2.6
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index db6e26f..01e3a3d 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -1458,7 +1458,7 @@ gtk_container_get_property (GObject *object,
*
* The border width of a container is the amount of space to leave
* around the outside of the container. The only exception to this is
- * #GtkWindow; because toplevel windows can't leave space outside,
+ * #GtkWindow; because toplevel windows can’t leave space outside,
* they leave the space inside. The border is added on all sides of
* the container. To add space to only one side, one approach is to
* create a #GtkAlignment widget, call gtk_widget_set_size_request()
@@ -1514,7 +1514,7 @@ gtk_container_get_border_width (GtkContainer *container)
* consider functions such as gtk_box_pack_start() and
* gtk_grid_attach() as an alternative to gtk_container_add() in
* those cases. A widget may be added to only one container at a time;
- * you can't place the same widget inside two different containers.
+ * you can’t place the same widget inside two different containers.
*
* Note that some containers, such as #GtkScrolledWindow or #GtkListBox,
* may add intermediate children between the added widget and the
@@ -1555,7 +1555,7 @@ gtk_container_add (GtkContainer *container,
* may be the last reference held; so removing a widget from its
* container can destroy that widget. If you want to use @widget
* again, you need to add a reference to it while it’s not inside
- * a container, using g_object_ref(). If you don't want to use @widget
+ * a container, using g_object_ref(). If you don’t want to use @widget
* again it’s usually more efficient to simply destroy it directly
* using gtk_widget_destroy() since this will remove it from the
* container and help break any circular reference count cycles.
@@ -1591,7 +1591,7 @@ _gtk_container_dequeue_resize_handler (GtkContainer *container)
* will be passed to the container’s parent, queued for later execution
* or executed immediately.
*
- * Deprecated: 3.12: Resize modes are deprecated. They aren't necessary
+ * Deprecated: 3.12: Resize modes are deprecated. They aren’t necessary
* anymore since frame clocks and might introduce obscure bugs if
* used.
**/
@@ -1630,7 +1630,7 @@ gtk_container_set_resize_mode (GtkContainer *container,
*
* Return value: the current resize mode
*
- * Deprecated: 3.12: Resize modes are deprecated. They aren't necessary
+ * Deprecated: 3.12: Resize modes are deprecated. They aren’t necessary
* anymore since frame clocks and might introduce obscure bugs if
* used.
**/
@@ -2113,7 +2113,7 @@ gtk_container_class_handle_border_width (GtkContainerClass *klass)
*
* Invokes @callback on each child of @container, including children
* that are considered “internal” (implementation details of the
- * container). “Internal” children generally weren't added by the user
+ * container). “Internal” children generally weren’t added by the user
* of the container, but were added by the container implementation
* itself. Most applications should use gtk_container_foreach(),
* rather than gtk_container_forall().
@@ -2914,7 +2914,7 @@ gtk_container_focus_sort_left_right (GtkContainer *container,
* @direction: focus direction
* @old_focus: (allow-none): widget to use for the starting position, or %NULL
* to determine this automatically.
- * (Note, this argument isn't used for GTK_DIR_TAB_*,
+ * (Note, this argument isn’t used for GTK_DIR_TAB_*,
* which is the only @direction we use currently,
* so perhaps this argument should be removed)
*
@@ -2922,7 +2922,7 @@ gtk_container_focus_sort_left_right (GtkContainer *container,
* direction type @direction.
*
* Return value: a copy of @children, sorted in correct focusing order,
- * with children that aren't suitable for focusing in this direction
+ * with children that aren’t suitable for focusing in this direction
* removed.
**/
GList *
@@ -3043,7 +3043,7 @@ chain_widget_destroyed (GtkWidget *widget,
* In principle each widget in the chain should be a descendant of the
* container, but this is not enforced by this method, since it’s allowed
* to set the focus chain before you pack the widgets, or have a widget
- * in the chain that isn't always packed. The necessary checks are done
+ * in the chain that isn’t always packed. The necessary checks are done
* when the focus chain is actually traversed.
**/
void
@@ -3459,7 +3459,7 @@ gtk_container_should_propagate_draw (GtkContainer *container,
* cairo_restore() before calling this function.
*
* When a container receives a call to the draw function, it must send
- * synthetic #GtkWidget::draw calls to all children that don't have their
+ * synthetic #GtkWidget::draw calls to all children that don’t have their
* own #GdkWindows. This function provides a convenient way of doing this.
* A container, when it receives a call to its #GtkWidget::draw function,
* calls gtk_container_propagate_draw() once for each child, passing in
diff --git a/gtk/gtkcssparserprivate.h b/gtk/gtkcssparserprivate.h
index 3c6f3ba..ea6a09c 100644
--- a/gtk/gtkcssparserprivate.h
+++ b/gtk/gtkcssparserprivate.h
@@ -63,7 +63,7 @@ gboolean _gtk_css_parser_is_string (GtkCssParser *parser
* signal an error. _read_foo() will modify the data pointer and position it at
* the first token that is broken and emit an error about the failure.
* So only call _read_foo() when you know that you are reading a foo. _try_foo()
- * however is fine to call if you don't know yet if the token is a foo or a bar,
+ * however is fine to call if you don’t know yet if the token is a foo or a bar,
* you can _try_bar() if try_foo() failed.
*/
gboolean _gtk_css_parser_try (GtkCssParser *parser,
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 434fa34..abf6e6a 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -564,7 +564,7 @@
* be tiled to fill the area, and scaled to fit it exactly
* a whole number of times.
* If the value of this property is 'space', the image slice will
- * be tiled to fill the area, and if it doesn't fit it exactly a whole
+ * be tiled to fill the area, and if it doesn’t fit it exactly a whole
* number of times, the extra space is distributed as padding around
* the slices.
* If two options are specified, the first one affects
@@ -811,7 +811,7 @@
* <entry>[repeat|no-repeat]</entry>
* <entry>internal</entry>
* <entry><literallayout>background-repeat: no-repeat;</literallayout>
- * If not specified, the style doesn't respect the CSS3
+ * If not specified, the style doesn’t respect the CSS3
* specification, since the background will be
* stretched to fill the area.
* </entry>
diff --git a/gtk/gtkcssstyleproperty.c b/gtk/gtkcssstyleproperty.c
index 5468d20..e2bfa77 100644
--- a/gtk/gtkcssstyleproperty.c
+++ b/gtk/gtkcssstyleproperty.c
@@ -443,7 +443,7 @@ _gtk_css_style_property_affects_size (GtkCssStyleProperty *property)
*
* Queries if the given @property affects the default font. This is
* used for optimizations inside GTK, where clearing pango
- * layouts can be avoided if the font doesn't change.
+ * layouts can be avoided if the font doesn’t change.
*
* Returns: %TRUE if the property affects the font.
**/
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index e5b2c03..bbc1320 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -946,7 +946,7 @@ gtk_dialog_add_action_widget (GtkDialog *dialog,
* clicking the button will emit the #GtkDialog::response signal with
* the given @response_id. The button is appended to the end of the
* dialog’s action area. The button widget is returned, but usually
- * you don't need it.
+ * you don’t need it.
*
* Return value: (transfer none): the #GtkButton widget that was added
**/
@@ -1216,7 +1216,7 @@ run_destroy_handler (GtkDialog *dialog, gpointer data)
* will be modal. You can force gtk_dialog_run() to return at any time by
* calling gtk_dialog_response() to emit the ::response signal. Destroying
* the dialog during gtk_dialog_run() is a very bad idea, because your
- * post-run code won't know whether the dialog was destroyed or not.
+ * post-run code won’t know whether the dialog was destroyed or not.
*
* After gtk_dialog_run() returns, you are responsible for hiding or
* destroying the dialog if you wish to do so.
@@ -1368,7 +1368,7 @@ gtk_dialog_get_widget_for_response (GtkDialog *dialog,
* of a dialog.
*
* Returns: the response id of @widget, or %GTK_RESPONSE_NONE
- * if @widget doesn't have a response id set.
+ * if @widget doesn’t have a response id set.
*
* Since: 2.8
*/
diff --git a/gtk/gtkdnd-quartz.c b/gtk/gtkdnd-quartz.c
index e1680f4..8f48e60 100644
--- a/gtk/gtkdnd-quartz.c
+++ b/gtk/gtkdnd-quartz.c
@@ -1181,7 +1181,7 @@ gtk_drag_begin_idle (gpointer arg)
return G_SOURCE_REMOVE;
}
/* Fake protocol to let us call GdkNSView gdkWindow without including
- * gdk/GdkNSView.h (which we can't because it pulls in the internal-only
+ * gdk/GdkNSView.h (which we can’t because it pulls in the internal-only
* gdkwindow.h).
*/
@protocol GdkNSView
@@ -1740,7 +1740,7 @@ gtk_drag_source_set_icon_name (GtkWidget *widget,
* @hot_y: the Y offset within @widget of the hotspot.
*
* Changes the icon for a widget to a given widget. GTK+
- * will not destroy the icon, so if you don't want
+ * will not destroy the icon, so if you don’t want
* it to persist, you should connect to the “drag-end”
* signal and destroy it yourself.
**/
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index f290aa6..bdb4deb 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -3196,7 +3196,7 @@ gtk_drag_set_icon_window (GdkDragContext *context,
* @hot_y: the Y offset within @widget of the hotspot.
*
* Changes the icon for a widget to a given widget. GTK+
- * will not destroy the icon, so if you don't want
+ * will not destroy the icon, so if you don’t want
* it to persist, you should connect to the “drag-end”
* signal and destroy it yourself.
**/
diff --git a/gtk/gtkeditable.c b/gtk/gtkeditable.c
index a2bba68..996aadb 100644
--- a/gtk/gtkeditable.c
+++ b/gtk/gtkeditable.c
@@ -341,7 +341,7 @@ gtk_editable_get_selection_bounds (GtkEditable *editable,
* @editable: a #GtkEditable
*
* Deletes the currently selected text of the editable.
- * This call doesn't do anything if there is no selected text.
+ * This call doesn’t do anything if there is no selected text.
*/
void
gtk_editable_delete_selection (GtkEditable *editable)
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 7715e05..4fbfb0d 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -8333,7 +8333,7 @@ gtk_entry_set_icon_from_stock (GtkEntry *entry,
* Sets the icon shown in the entry at the specified position
* from the current icon theme.
*
- * If the icon name isn't known, a “broken image” icon will be displayed
+ * If the icon name isn’t known, a “broken image” icon will be displayed
* instead.
*
* If @icon_name is %NULL, no icon will be shown in the specified position.
@@ -8399,7 +8399,7 @@ gtk_entry_set_icon_from_icon_name (GtkEntry *entry,
*
* Sets the icon shown in the entry at the specified position
* from the current icon theme.
- * If the icon isn't known, a “broken image” icon will be displayed
+ * If the icon isn’t known, a “broken image” icon will be displayed
* instead.
*
* If @icon is %NULL, no icon will be shown in the specified position.
@@ -8611,7 +8611,7 @@ gtk_entry_get_icon_gicon (GtkEntry *entry,
* pixbuf, icon name or gicon).
*
* Returns: A stock id, or %NULL if no icon is set or if the icon
- * wasn't set from a stock id
+ * wasn’t set from a stock id
*
* Since: 2.16
*
@@ -8646,7 +8646,7 @@ gtk_entry_get_icon_stock (GtkEntry *entry,
* pixbuf, stock or gicon).
*
* Returns: An icon name, or %NULL if no icon is set or if the icon
- * wasn't set from an icon name
+ * wasn’t set from an icon name
*
* Since: 2.16
*/
@@ -8783,7 +8783,7 @@ gtk_entry_get_icon_storage_type (GtkEntry *entry,
*
* Finds the icon at the given position and return its index. The
* position’s coordinates are relative to the @entry’s top left corner.
- * If @x, @y doesn't lie inside an icon, -1 is returned.
+ * If @x, @y doesn’t lie inside an icon, -1 is returned.
* This function is intended for use in a #GtkWidget::query-tooltip
* signal handler.
*
@@ -10311,7 +10311,7 @@ gtk_entry_get_progress_pulse_step (GtkEntry *entry)
* gtk_entry_progress_pulse:
* @entry: a #GtkEntry
*
- * Indicates that some progress is made, but you don't know how much.
+ * Indicates that some progress is made, but you don’t know how much.
* Causes the entry’s progress indicator to enter “activity mode,”
* where a block bounces back and forth. Each call to
* gtk_entry_progress_pulse() causes the block to move by a little bit
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index a386ada..391336d 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -57,7 +57,7 @@
* will generally take the filter model as argument. As long as you are
* only calling gtk_tree_model_get(), this will make no difference to
* you. If for some reason, you need the original model, use
- * gtk_tree_model_filter_get_model(). Don't forget to use
+ * gtk_tree_model_filter_get_model(). Don’t forget to use
* gtk_tree_model_filter_convert_iter_to_child_iter() to obtain a
* matching iter.
*/
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 34efa1f..8b04c34 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -347,7 +347,7 @@ typedef enum
* @GTK_MESSAGE_WARNING: Non-fatal warning message
* @GTK_MESSAGE_QUESTION: Question requiring a choice
* @GTK_MESSAGE_ERROR: Fatal error message
- * @GTK_MESSAGE_OTHER: None of the above, doesn't get an icon
+ * @GTK_MESSAGE_OTHER: None of the above, doesn’t get an icon
*
* The type of message being displayed in the dialog.
*/
@@ -612,7 +612,7 @@ typedef enum
* In some circumstances, such as initially or during a search
* operation, it’s possible for no element to be selected with
* %GTK_SELECTION_BROWSE. What is really enforced is that the user
- * can't deselect a currently selected element except by selecting
+ * can’t deselect a currently selected element except by selecting
* another element.
* @GTK_SELECTION_MULTIPLE: Any number of elements may be selected.
* The Ctrl key may be used to enlarge the selection, and Shift
@@ -660,7 +660,7 @@ typedef enum
* @GTK_STATE_INSENSITIVE: State indicating that the widget is
* unresponsive to user actions.
* @GTK_STATE_INCONSISTENT: The widget is inconsistent, such as checkbuttons
- * or radiobuttons that aren't either set to %TRUE nor %FALSE,
+ * or radiobuttons that aren’t either set to %TRUE nor %FALSE,
* or buttons requiring the user attention.
* @GTK_STATE_FOCUSED: The widget has the keyboard focus.
*
@@ -713,7 +713,7 @@ typedef enum
*
* Window placement can be influenced using this enumeration. Note that
* using #GTK_WIN_POS_CENTER_ALWAYS is almost always a bad idea.
- * It won't necessarily work well with all window managers or on all windowing systems.
+ * It won’t necessarily work well with all window managers or on all windowing systems.
*/
typedef enum
{
@@ -734,11 +734,11 @@ typedef enum
* are managed by the window manager and have a frame by default (call
* gtk_window_set_decorated() to toggle the frame). Windows with type
* #GTK_WINDOW_POPUP are ignored by the window manager; window manager
- * keybindings won't work on them, the window manager won't decorate the
+ * keybindings won’t work on them, the window manager won’t decorate the
* window with a frame, many GTK+ features that rely on the window
* manager will not work (e.g. resize grips and
* maximization/minimization). #GTK_WINDOW_POPUP is used to implement
- * widgets such as #GtkMenu or tooltips that you normally don't think of
+ * widgets such as #GtkMenu or tooltips that you normally don’t think of
* as windows per se. Nearly all windows should be #GTK_WINDOW_TOPLEVEL.
* In particular, do not use #GTK_WINDOW_POPUP just to turn off
* the window borders; use gtk_window_set_decorated() for that.
@@ -1027,7 +1027,7 @@ typedef enum {
* GtkSizeRequestMode:
* @GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH: Prefer height-for-width geometry management
* @GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT: Prefer width-for-height geometry management
- * @GTK_SIZE_REQUEST_CONSTANT_SIZE: Don't trade height-for-width or width-for-height
+ * @GTK_SIZE_REQUEST_CONSTANT_SIZE: Don’t trade height-for-width or width-for-height
*
* Specifies a preference for height-for-width or
* width-for-height geometry management.
diff --git a/gtk/gtkeventbox.c b/gtk/gtkeventbox.c
index 34495a0..97c72ec 100644
--- a/gtk/gtkeventbox.c
+++ b/gtk/gtkeventbox.c
@@ -247,12 +247,12 @@ gtk_event_box_get_visible_window (GtkEventBox *event_box)
* window below the child. (See gtk_event_box_set_above_child().)
* Since the input-only window is not an ancestor window of any windows
* that descendent widgets of the event box create, events on these
- * windows aren't propagated up by the windowing system, but only by GTK+.
- * The practical effect of this is if an event isn't in the event
+ * windows aren’t propagated up by the windowing system, but only by GTK+.
+ * The practical effect of this is if an event isn’t in the event
* mask for the descendant window (see gtk_widget_add_events()),
- * it won't be received by the event box.
+ * it won’t be received by the event box.
*
- * This problem doesn't occur for visible event boxes, because in
+ * This problem doesn’t occur for visible event boxes, because in
* that case, the event box window is actually the ancestor of the
* descendant windows, not just at the same place on the screen.
*
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index 091ef50..0037358 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -716,7 +716,7 @@ gtk_file_chooser_get_filename (GtkFileChooser *chooser)
* dialog for which you already have a file name to which
* the user may save. For example, when the user opens an existing file and
* then does Save As... to save a copy or
- * a modified version. If you don't have a file name already — for
+ * a modified version. If you don’t have a file name already — for
* example, if the user just created a new file and is saving it for the first
* time, do not call this function. Instead, use something similar to this:
* |[<!-- language="C" -->
@@ -755,7 +755,7 @@ gtk_file_chooser_set_filename (GtkFileChooser *chooser,
* @chooser: a #GtkFileChooser
* @filename: (type filename): the filename to select
*
- * Selects a filename. If the file name isn't in the current
+ * Selects a filename. If the file name isn’t in the current
* folder of @chooser, then the current folder of @chooser will
* be changed to the folder containing @filename.
*
@@ -1068,7 +1068,7 @@ gtk_file_chooser_get_uri (GtkFileChooser *chooser)
* dialog for which you already have a file name to which
* the user may save. For example, when the user opens an existing file and then
* does Save As... to save a copy or a
- * modified version. If you don't have a file name already — for example,
+ * modified version. If you don’t have a file name already — for example,
* if the user just created a new file and is saving it for the first time, do
* not call this function. Instead, use something similar to this:
* |[<!-- language="C" -->
@@ -1108,7 +1108,7 @@ gtk_file_chooser_set_uri (GtkFileChooser *chooser,
* @chooser: a #GtkFileChooser
* @uri: the URI to select
*
- * Selects the file to by @uri. If the URI doesn't refer to a
+ * Selects the file to by @uri. If the URI doesn’t refer to a
* file in the current folder of @chooser, then the current folder of
* @chooser will be changed to the folder containing @filename.
*
@@ -1422,7 +1422,7 @@ gtk_file_chooser_get_files (GtkFileChooser *chooser)
* the @chooser is in %GTK_FILE_CHOOSER_ACTION_SAVE mode, the file’s base name
* will also appear in the dialog’s file name entry.
*
- * If the file name isn't in the current folder of @chooser, then the current
+ * If the file name isn’t in the current folder of @chooser, then the current
* folder of @chooser will be changed to the folder containing @filename. This
* is equivalent to a sequence of gtk_file_chooser_unselect_all() followed by
* gtk_file_chooser_select_filename().
@@ -1433,7 +1433,7 @@ gtk_file_chooser_get_files (GtkFileChooser *chooser)
* If you are implementing a save dialog,
* you should use this function if you already have a file name to which the
* user may save; for example, when the user opens an existing file and then
- * does Save As... If you don't have
+ * does Save As... If you don’t have
* a file name already — for example, if the user just created a new
* file and is saving it for the first time, do not call this function.
* Instead, use something similar to this:
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c
index b8c2313..2da0e38 100644
--- a/gtk/gtkfilechooserbutton.c
+++ b/gtk/gtkfilechooserbutton.c
@@ -2773,7 +2773,7 @@ combo_box_changed_cb (GtkComboBox *combo_box,
}
/* Calback for the "notify::popup-shown" signal on the combo box.
- * When the combo is popped up, we don't want the ROW_TYPE_EMPTY_SELECTION to be visible
+ * When the combo is popped up, we don’t want the ROW_TYPE_EMPTY_SELECTION to be visible
* at all; otherwise we would be showing a “(None)” item in the combo box’s popup.
*
* However, when the combo box is *not* popped up, we want the empty-selection row
@@ -3063,7 +3063,7 @@ gtk_file_chooser_button_set_width_chars (GtkFileChooserButton *button,
*
* Sets whether the button will grab focus when it is clicked with the mouse.
* Making mouse clicks not grab focus is useful in places like toolbars where
- * you don't want the keyboard focus removed from the main area of the
+ * you don’t want the keyboard focus removed from the main area of the
* application.
*
* Since: 2.10
diff --git a/gtk/gtkfilechooserutils.c b/gtk/gtkfilechooserutils.c
index bc7bb49..53246ca 100644
--- a/gtk/gtkfilechooserutils.c
+++ b/gtk/gtkfilechooserutils.c
@@ -77,7 +77,7 @@ static GtkFileChooserConfirmation delegate_confirm_overwrite (GtkFileChooser
* #GtkFileChooser. A #GtkParamSpecOverride property is installed
* for each property, using the values from the #GtkFileChooserProp
* enumeration. The caller must make sure itself that the enumeration
- * values don't collide with some other property values they
+ * values don’t collide with some other property values they
* are using.
**/
void
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index bef5003..d8f3ad1 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -2983,7 +2983,7 @@ gtk_file_chooser_widget_dispose (GObject *object)
}
/* We override show-all since we have internal widgets that
- * shouldn't be shown when you call show_all(), like the filter
+ * shouldn’t be shown when you call show_all(), like the filter
* combo box.
*/
static void
@@ -6172,7 +6172,7 @@ search_engine_finished_cb (GtkSearchEngine *engine,
/* Displays a generic error when we cannot create a GtkSearchEngine.
* It would be better if _gtk_search_engine_new() gave us a GError
- * with a better message, but it doesn't do that right now.
+ * with a better message, but it doesn’t do that right now.
*/
static void
search_error_could_not_create_client (GtkFileChooserWidget *impl)
diff --git a/gtk/gtkfilefilter.c b/gtk/gtkfilefilter.c
index d02c65b..9d6d4cf 100644
--- a/gtk/gtkfilefilter.c
+++ b/gtk/gtkfilefilter.c
@@ -343,7 +343,7 @@ gtk_file_filter_buildable_custom_tag_end (GtkBuildable *buildable,
* gtk_file_filter_new:
*
* Creates a new #GtkFileFilter with no rules added to it.
- * Such a filter doesn't accept any files, so is not
+ * Such a filter doesn’t accept any files, so is not
* particularly useful until you add rules with
* gtk_file_filter_add_mime_type(), gtk_file_filter_add_pattern(),
* or gtk_file_filter_add_custom(). To create a filter
@@ -504,7 +504,7 @@ gtk_file_filter_add_pixbuf_formats (GtkFileFilter *filter)
* function. The bitfield @needed which is passed in provides information
* about what sorts of information that the filter function needs;
* this allows GTK+ to avoid retrieving expensive information when
- * it isn't needed by the filter.
+ * it isn’t needed by the filter.
*
* Since: 2.4
**/
diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c
index 44b37f9..82198a1 100644
--- a/gtk/gtkfixed.c
+++ b/gtk/gtkfixed.c
@@ -50,10 +50,10 @@
* display of non-English text will use a different font in many
* cases.
*
- * In addition, the fixed widget can't properly be mirrored in
+ * In addition, the fixed widget can’t properly be mirrored in
* right-to-left languages such as Hebrew and Arabic. i.e. normally
* GTK+ will flip the interface to put labels to the right of the
- * thing they label, but it can't do that with #GtkFixed. So your
+ * thing they label, but it can’t do that with #GtkFixed. So your
* application will not be usable in right-to-left languages.
*
* Finally, fixed positioning makes it kind of annoying to add/remove
diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c
index e13df85..2b803c5 100644
--- a/gtk/gtkflowbox.c
+++ b/gtk/gtkflowbox.c
@@ -698,7 +698,7 @@ gtk_flow_box_child_is_selected (GtkFlowBoxChild *child)
* must only read the new data for the first of the two changed
* children, otherwise the resorting of the children will be wrong.
*
- * This generally means that if you don't fully control the data
+ * This generally means that if you don’t fully control the data
* model, you have to duplicate the data that affects the sorting
* and filtering functions into the widgets themselves. Another
* alternative is to call gtk_flow_box_invalidate_sort() on any
diff --git a/gtk/gtkfontchooserutils.c b/gtk/gtkfontchooserutils.c
index 53d76d8..5014883 100644
--- a/gtk/gtkfontchooserutils.c
+++ b/gtk/gtkfontchooserutils.c
@@ -103,7 +103,7 @@ _gtk_font_chooser_delegate_get_quark (void)
* #GtkFontChooser. A #GtkParamSpecOverride property is installed
* for each property, using the values from the #GtkFontChooserProp
* enumeration. The caller must make sure itself that the enumeration
- * values don't collide with some other property values they
+ * values don’t collide with some other property values they
* are using.
*/
void
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c
index 4a2ac00..8ffb783 100644
--- a/gtk/gtkframe.c
+++ b/gtk/gtkframe.c
@@ -520,7 +520,7 @@ gtk_frame_get_label_widget (GtkFrame *frame)
* 1.0 represents right alignment.
* @yalign: The y alignment of the label. A value of 0.0 aligns under
* the frame; 1.0 aligns above the frame. If the values are exactly
- * 0.0 or 1.0 the gap in the frame won't be painted because the label
+ * 0.0 or 1.0 the gap in the frame won’t be painted because the label
* will be completely above or below the frame.
*
* Sets the alignment of the frame widget’s label. The
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 2cd943f..84a4bb2 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -126,7 +126,7 @@
* &error);
* if (!pixbuf)
* {
- * g_warning ("Couldn't load icon: %s", error->message);
+ * g_warning ("Couldn’t load icon: %s", error->message);
* g_error_free (error);
* }
* else
@@ -893,7 +893,7 @@ gtk_icon_theme_finalize (GObject *object)
* are combined to allow themes to be extended by adding icons
* in the user’s home directory.)
*
- * In addition if an icon found isn't found either in the current
+ * In addition if an icon found isn’t found either in the current
* icon theme or the default icon theme, and an image file with
* the right name is found directly in one of the elements of
* @path, then that image will be used for the icon name.
@@ -1813,7 +1813,7 @@ choose_icon (GtkIconTheme *icon_theme,
* combines these two steps if all you need is the pixbuf.)
*
* Return value: (transfer full): a #GtkIconInfo object containing information
- * about the icon, or %NULL if the icon wasn't found.
+ * about the icon, or %NULL if the icon wasn’t found.
*
* Since: 2.4
*/
@@ -1850,7 +1850,7 @@ gtk_icon_theme_lookup_icon (GtkIconTheme *icon_theme,
* these two steps if all you need is the pixbuf.)
*
* Return value: (transfer full): a #GtkIconInfo object containing
- * information about the icon, or %NULL if the icon wasn't found.
+ * information about the icon, or %NULL if the icon wasn’t found.
*
* Since: 3.10
*/
@@ -1954,7 +1954,7 @@ gtk_icon_theme_lookup_icon_for_scale (GtkIconTheme *icon_theme,
* inherited icon themes.
*
* Return value: (transfer full): a #GtkIconInfo object containing information
- * about the icon, or %NULL if the icon wasn't found.
+ * about the icon, or %NULL if the icon wasn’t found.
*
* Since: 2.12
*/
@@ -1992,7 +1992,7 @@ gtk_icon_theme_choose_icon (GtkIconTheme *icon_theme,
* inherited icon themes.
*
* Return value: (transfer full): a #GtkIconInfo object containing information
- * about the icon, or %NULL if the icon wasn't found.
+ * about the icon, or %NULL if the icon wasn’t found.
*
* Since: 3.10
*/
@@ -2046,7 +2046,7 @@ gtk_icon_theme_error_quark (void)
* Return value: (transfer full): the rendered icon; this may be a
* newly created icon or a new reference to an internal icon, so
* you must not modify the icon. Use g_object_unref() to release
- * your reference to the icon. %NULL if the icon isn't found.
+ * your reference to the icon. %NULL if the icon isn’t found.
*
* Since: 2.4
**/
@@ -2095,7 +2095,7 @@ gtk_icon_theme_load_icon (GtkIconTheme *icon_theme,
* Return value: (transfer full): the rendered icon; this may be a
* newly created icon or a new reference to an internal icon, so
* you must not modify the icon. Use g_object_unref() to release
- * your reference to the icon. %NULL if the icon isn't found.
+ * your reference to the icon. %NULL if the icon isn’t found.
*
* Since: 3.10
**/
@@ -2157,7 +2157,7 @@ gtk_icon_theme_load_icon_for_scale (GtkIconTheme *icon_theme,
* Return value: (transfer full): the rendered icon; this may be a
* newly created icon or a new reference to an internal icon, so
* you must not modify the icon. Use cairo_surface_destroy() to release
- * your reference to the icon. %NULL if the icon isn't found.
+ * your reference to the icon. %NULL if the icon isn’t found.
*
* Since: 3.10
**/
@@ -5009,7 +5009,7 @@ gtk_icon_info_get_attach_points (GtkIconInfo *icon_info,
* visible context like a list of icons.
*
* Return value: the display name for the icon or %NULL, if
- * the icon doesn't have a specified display name. This value
+ * the icon doesn’t have a specified display name. This value
* is owned @icon_info and must not be modified or free.
*
* Since: 2.4
@@ -5173,7 +5173,7 @@ find_builtin_icon (const gchar *icon_name,
*
* Return value: (transfer full): a #GtkIconInfo containing
* information about the icon, or %NULL if the icon
- * wasn't found. Unref with g_object_unref()
+ * wasn’t found. Unref with g_object_unref()
*
* Since: 2.14
*/
@@ -5203,7 +5203,7 @@ gtk_icon_theme_lookup_by_gicon (GtkIconTheme *icon_theme,
*
* Return value: (transfer full): a #GtkIconInfo containing
* information about the icon, or %NULL if the icon
- * wasn't found. Unref with g_object_unref()
+ * wasn’t found. Unref with g_object_unref()
*
* Since: 3.10
*/
diff --git a/gtk/gtkicontheme.h b/gtk/gtkicontheme.h
index c3d83e0..84bb0b6 100644
--- a/gtk/gtkicontheme.h
+++ b/gtk/gtkicontheme.h
@@ -102,7 +102,7 @@ struct _GtkIconThemeClass
* @GTK_ICON_LOOKUP_NO_SVG: Never get SVG icons, even if gdk-pixbuf
* supports them. Cannot be used together with %GTK_ICON_LOOKUP_FORCE_SVG.
* @GTK_ICON_LOOKUP_FORCE_SVG: Get SVG icons, even if gdk-pixbuf
- * doesn't support them.
+ * doesn’t support them.
* Cannot be used together with %GTK_ICON_LOOKUP_NO_SVG.
* @GTK_ICON_LOOKUP_USE_BUILTIN: When passed to
* gtk_icon_theme_lookup_icon() includes builtin icons
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index ce40e68..66f6643 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -2240,7 +2240,7 @@ gtk_icon_view_set_cursor (GtkIconView *icon_view,
* focus cell, or %NULL
*
* Fills in @path and @cell with the current cursor path and cell.
- * If the cursor isn't currently set, then * path will be %NULL.
+ * If the cursor isn’t currently set, then * path will be %NULL.
* If no cell currently has focus, then * cell will be %NULL.
*
* The returned #GtkTreePath must be freed with gtk_tree_path_free().
@@ -6056,7 +6056,7 @@ gtk_icon_view_get_item_padding (GtkIconView *icon_view)
/* Get/set whether drag_motion requested the drag data and
* drag_data_received should thus not actually insert the data,
- * since the data doesn't result from a drop.
+ * since the data doesn’t result from a drop.
*/
static void
set_status_pending (GdkDragContext *context,
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index abe536d..efbdb52 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -56,7 +56,7 @@
* GtkWidget *image;
* image = gtk_image_new_from_file ("myfile.png");
* ]|
- * If the file isn't loaded successfully, the image will contain a
+ * If the file isn’t loaded successfully, the image will contain a
* “broken image” icon similar to that used in many web browsers.
* If you want to handle errors in loading the file yourself,
* for example by displaying an error message, then load the image with
@@ -87,7 +87,7 @@
* event->x, event->y);
*
* /<!---->* Returning TRUE means we handled the event, so the signal
- * * emission should be stopped (don't call any further
+ * * emission should be stopped (don’t call any further
* * callbacks that may be connected). Return FALSE
* * to continue invoking callbacks.
* *<!---->/
@@ -550,7 +550,7 @@ gtk_image_get_property (GObject *object,
* @filename: (type filename): a filename
*
* Creates a new #GtkImage displaying the file @filename. If the file
- * isn't found or can't be loaded, the resulting #GtkImage will
+ * isn’t found or can’t be loaded, the resulting #GtkImage will
* display a “broken image” icon. This function never returns %NULL,
* it always returns a valid #GtkImage widget.
*
@@ -585,7 +585,7 @@ gtk_image_new_from_file (const gchar *filename)
* @resource_path: a resource path
*
* Creates a new #GtkImage displaying the resource file @resource_path. If the file
- * isn't found or can't be loaded, the resulting #GtkImage will
+ * isn’t found or can’t be loaded, the resulting #GtkImage will
* display a “broken image” icon. This function never returns %NULL,
* it always returns a valid #GtkImage widget.
*
@@ -675,7 +675,7 @@ gtk_image_new_from_surface (cairo_surface_t *surface)
* Creates a #GtkImage displaying a stock icon. Sample stock icon
* names are #GTK_STOCK_OPEN, #GTK_STOCK_QUIT. Sample stock sizes
* are #GTK_ICON_SIZE_MENU, #GTK_ICON_SIZE_SMALL_TOOLBAR. If the stock
- * icon name isn't known, the image will be empty.
+ * icon name isn’t known, the image will be empty.
* You can register your own stock icon names, see
* gtk_icon_factory_add_default() and gtk_icon_factory_add().
*
@@ -772,7 +772,7 @@ gtk_image_new_from_animation (GdkPixbufAnimation *animation)
* @size: (type int): a stock icon size
*
* Creates a #GtkImage displaying an icon from the current icon theme.
- * If the icon name isn't known, a “broken image” icon will be
+ * If the icon name isn’t known, a “broken image” icon will be
* displayed instead. If the current icon theme is changed, the icon
* will be updated appropriately.
*
@@ -799,7 +799,7 @@ gtk_image_new_from_icon_name (const gchar *icon_name,
* @size: (type int): a stock icon size
*
* Creates a #GtkImage displaying an icon from the current icon theme.
- * If the icon name isn't known, a “broken image” icon will be
+ * If the icon name isn’t known, a “broken image” icon will be
* displayed instead. If the current icon theme is changed, the icon
* will be updated appropriately.
*
diff --git a/gtk/gtkimcontext.c b/gtk/gtkimcontext.c
index 09355c9..a82fe5e 100644
--- a/gtk/gtkimcontext.c
+++ b/gtk/gtkimcontext.c
@@ -175,7 +175,7 @@ G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE (GtkIMContext, gtk_im_context, G_TYPE_OBJECT
* consumed by the input method. In that case, the #GtkIMContext::commit
* signal should be emitted upon completion of a key sequence to pass the
* resulting text back to the input widget. Alternatively, %FALSE may be
- * returned to indicate that the event wasn't handled by the input method.
+ * returned to indicate that the event wasn’t handled by the input method.
* If a builtin mapping exists for the key, it is used to produce a
* character.
* @focus_in: Called via gtk_im_context_focus_in() when the input widget
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c
index 8f291c6..ae9ec48 100644
--- a/gtk/gtkimcontextsimple.c
+++ b/gtk/gtkimcontextsimple.c
@@ -676,7 +676,7 @@ check_algorithmically (GtkIMContextSimple *context_simple,
/* In addition to the table-driven sequences, we allow Unicode hex
* codes to be entered. The method chosen here is similar to the
* one recommended in ISO 14755, but not exactly the same, since we
- * don't want to steal 16 valuable key combinations.
+ * don’t want to steal 16 valuable key combinations.
*
* A hex Unicode sequence must be started with Ctrl-Shift-U, followed
* by a sequence of hex digits entered with Ctrl-Shift still held.
diff --git a/gtk/gtkkeyhash.c b/gtk/gtkkeyhash.c
index a46d72f..a67f2c4 100644
--- a/gtk/gtkkeyhash.c
+++ b/gtk/gtkkeyhash.c
@@ -370,7 +370,7 @@ keyval_in_group (GdkKeymap *keymap,
* does not). As long there are any exact matches, only exact matches
* are returned. If there are no exact matches, fuzzy matches will be
* returned, as long as they are not shadowing a possible exact match.
- * This means that fuzzy matches won't be considered if their keyval is
+ * This means that fuzzy matches won’t be considered if their keyval is
* present in the current group.
*
* Return value: A newly-allocated #GSList of matching entries.
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 64ff248..48bcac9 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -2989,7 +2989,7 @@ gtk_label_get_max_width_chars (GtkLabel *label)
*
* Note that setting line wrapping to %TRUE does not make the label
* wrap at its parent container’s width, because GTK+ widgets
- * conceptually can't make their requisition depend on the parent
+ * conceptually can’t make their requisition depend on the parent
* container’s size. For a label that wraps at a specific position,
* set the label’s width using gtk_widget_set_size_request().
**/
@@ -6551,7 +6551,7 @@ _gtk_label_get_selection_bound (GtkLabel *label)
*
* Sets the number of lines to which an ellipsized, wrapping label
* should be limited. This has no effect if the label is not wrapping
- * or ellipsized. Set this to -1 if you don't want to limit the
+ * or ellipsized. Set this to -1 if you don’t want to limit the
* number of lines.
*
* Since: 3.10
diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c
index d3c5389..2338342 100644
--- a/gtk/gtklayout.c
+++ b/gtk/gtklayout.c
@@ -47,7 +47,7 @@
* @See_also: #GtkDrawingArea, #GtkScrolledWindow
*
* #GtkLayout is similar to #GtkDrawingArea in that it’s a “blank slate”
- * and doesn't do anything but paint a blank background by default. It's
+ * and doesn’t do anything but paint a blank background by default. It's
* different in that it supports scrolling natively (you can add it to a
* #GtkScrolledWindow), and it can contain child widgets, since it’s a
* #GtkContainer. However if you're just going to draw, a #GtkDrawingArea
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index e1896fc..941a2b7 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -587,7 +587,7 @@ gtk_list_box_select_row (GtkListBox *list_box,
* @placeholder: (allow-none): a #GtkWidget or %NULL
*
* Sets the placeholder widget that is shown in the list when
- * it doesn't display any visible children.
+ * it doesn’t display any visible children.
*
* Since: 3.10
*/
@@ -805,7 +805,7 @@ gtk_list_box_set_filter_func (GtkListBox *list_box,
* gtk_list_box_row_set_header(). If no header is needed, set the header to %NULL.
*
* Note that you may get many calls @update_header to this for a particular row when e.g.
- * changing things that don't affect the header. In this case it is important for performance
+ * changing things that don’t affect the header. In this case it is important for performance
* to not blindly replace an exisiting header widh an identical one.
*
* The @update_header function will be called for each row after the call, and it will
@@ -2715,7 +2715,7 @@ gtk_list_box_row_size_allocate (GtkWidget *widget,
* for the first of the two changed rows, otherwise the resorting
* of the rows will be wrong.
*
- * This generally means that if you don't fully control the data
+ * This generally means that if you don’t fully control the data
* model you have to duplicate the data that affects the listbox
* row functions into the row widgets themselves. Another alternative
* is to call gtk_list_box_invalidate_sort() on any model change,
diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c
index 9a38440..837c5ca 100644
--- a/gtk/gtkliststore.c
+++ b/gtk/gtkliststore.c
@@ -44,7 +44,7 @@
* interfaces.
*
* The #GtkListStore can accept most GObject types as a column type, though
- * it can't accept all custom types. Internally, it will keep a copy of
+ * it can’t accept all custom types. Internally, it will keep a copy of
* data passed in (such as a string or a boxed pointer). Columns that
* accept #GObjects are handled a little differently. The
* #GtkListStore will keep a reference to the object instead of copying the
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 398bb85..8d35882 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -298,9 +298,9 @@ gtk_get_interface_age (void)
* (same major version.)
*
* This function is primarily for GTK+ modules; the module
- * can call this function to check that it wasn't loaded
+ * can call this function to check that it wasn’t loaded
* into an incompatible version of GTK+. However, such a
- * check isn't completely reliable, since the module may be
+ * check isn’t completely reliable, since the module may be
* linked against an old version of GTK+ and calling the
* old version of gtk_check_version(), but still get loaded
* into an application using a newer version of GTK+.
@@ -330,11 +330,11 @@ gtk_check_version (guint required_major,
}
/* This checks to see if the process is running suid or sgid
- * at the current time. If so, we don't allow GTK+ to be initialized.
+ * at the current time. If so, we don’t allow GTK+ to be initialized.
* This is meant to be a mild check - we only error out if we
* can prove the programmer is doing something wrong, not if
* they could be doing something wrong. For this reason, we
- * don't use issetugid() on BSD or prctl (PR_GET_DUMPABLE).
+ * don’t use issetugid() on BSD or prctl (PR_GET_DUMPABLE).
*/
static gboolean
check_setugid (void)
@@ -961,7 +961,7 @@ gtk_parse_args (int *argc,
*
* This function does the same work as gtk_init() with only a single
* change: It does not terminate the program if the windowing system
- * can't be initialized. Instead it returns %FALSE on failure.
+ * can’t be initialized. Instead it returns %FALSE on failure.
*
* This way the application can fall back to some other means of
* communication with the user - for example a curses or command line
@@ -1008,7 +1008,7 @@ gtk_init_check (int *argc,
* if you are calling gtk_parse_args(), gtk_init_check(),
* gtk_init_with_args() or g_option_context_parse() with
* the option group returned by gtk_get_option_group(),
- * you don't have to call gtk_init().
+ * you don’t have to call gtk_init().
*
* This function will terminate your program if it was unable to
* initialize the windowing system for some reason. If you want
@@ -1058,7 +1058,7 @@ check_sizeof_GtkWindow (size_t sizeof_GtkWindow)
/* In GTK+ 2.0 the GtkWindow struct actually is the same size in
* gcc-compiled code on Win32 whether compiled with -fnative-struct or
- * not. Unfortunately this wan't noticed until after GTK+ 2.0.1. So,
+ * not. Unfortunately this wan’t noticed until after GTK+ 2.0.1. So,
* from GTK+ 2.0.2 on, check some other struct, too, where the use of
* -fnative-struct still matters. GtkBox is one such.
*/
@@ -1277,7 +1277,7 @@ gtk_events_pending (void)
* Runs a single iteration of the mainloop.
*
* If no events are waiting to be processed GTK+ will block
- * until the next event is noticed. If you don't want to block
+ * until the next event is noticed. If you don’t want to block
* look at gtk_main_iteration_do() or check if any events are
* pending with gtk_events_pending() first.
*
@@ -1466,7 +1466,7 @@ rewrite_event_for_grabs (GdkEvent *event)
* events are thrown away. This is to avoid a backlog of (de-)highlighting
* widgets crossed by the pointer.
*
- * 2. Find the widget which got the event. If the widget can't be determined
+ * 2. Find the widget which got the event. If the widget can’t be determined
* the event is thrown away unless it belongs to a INCR transaction.
*
* 3. Then the event is pushed onto a stack so you can query the currently
@@ -2536,7 +2536,7 @@ propagate_event (GtkWidget *widget,
* event-specific signal on a widget. gtk_propagate_event() is a bit
* higher-level, and gtk_main_do_event() is the highest level.
*
- * All that said, you most likely don't want to use any of these
+ * All that said, you most likely don’t want to use any of these
* functions; synthesizing events is rarely needed. There are almost
* certainly better ways to achieve your goals. For example, use
* gdk_window_invalidate_rect() or gtk_widget_queue_draw() instead
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 7922698..82cde83 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -5473,7 +5473,7 @@ gtk_menu_real_move_scroll (GtkMenu *menu,
*
* This function should be called from a #GtkMenuPositionFunc
* if the menu should not appear on the same monitor as the pointer.
- * This information can't be reliably inferred from the coordinates
+ * This information can’t be reliably inferred from the coordinates
* returned by a #GtkMenuPositionFunc, since, for very long menus,
* these coordinates may extend beyond the monitor boundaries or even
* the screen boundaries.
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index 068a1fc..21a4299 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -828,7 +828,7 @@ gtk_menu_button_get_align_widget (GtkMenuButton *menu_button)
* we will do our best to keep it inside the screen and fully visible.
*
* If you pass %GTK_ARROW_NONE for a @direction, the menu will behave
- * as if you passed %GTK_ARROW_DOWN (although you won't see any arrows).
+ * as if you passed %GTK_ARROW_DOWN (although you won’t see any arrows).
*
* Since: 3.6
*/
diff --git a/gtk/gtkmenushell.c b/gtk/gtkmenushell.c
index 4cf34a8..7b2e155 100644
--- a/gtk/gtkmenushell.c
+++ b/gtk/gtkmenushell.c
@@ -1440,12 +1440,12 @@ gtk_menu_shell_move_selected (GtkMenuShell *menu_shell,
* @menu_shell: a #GtkMenuShell
* @search_sensitive: if %TRUE, search for the first selectable
* menu item, otherwise select nothing if
- * the first item isn't sensitive. This
+ * the first item isn’t sensitive. This
* should be %FALSE if the menu is being
* popped up initially.
*
* Select the first visible or selectable child of the menu shell;
- * don't select tearoff items unless the only item is a tearoff
+ * don’t select tearoff items unless the only item is a tearoff
* item.
*
* Since: 2.2
@@ -1905,7 +1905,7 @@ gtk_menu_shell_get_take_focus (GtkMenuShell *menu_shell)
*
* The @take_focus state of a menu or menu bar is automatically
* propagated to submenus whenever a submenu is popped up, so you
- * don't have to worry about recursively setting it for your entire
+ * don’t have to worry about recursively setting it for your entire
* menu hierarchy. Only when programmatically picking a submenu and
* popping it up manually, the @take_focus property of the submenu
* needs to be set explicitly.
@@ -1913,7 +1913,7 @@ gtk_menu_shell_get_take_focus (GtkMenuShell *menu_shell)
* Note that setting it to %FALSE has side-effects:
*
* If the focus is in some other app, it keeps the focus and keynav in
- * the menu doesn't work. Consequently, keynav on the menu will only
+ * the menu doesn’t work. Consequently, keynav on the menu will only
* work if the focus is on some toplevel owned by the onscreen keyboard.
*
* To avoid confusing the user, menus with @take_focus set to %FALSE
@@ -2132,7 +2132,7 @@ gtk_menu_shell_tracker_insert_func (GtkMenuTrackerItem *item,
*
* @with_separators determines if toplevel items (eg: sections) have
* separators inserted between them. This is typically desired for
- * menus but doesn't make sense for menubars.
+ * menus but doesn’t make sense for menubars.
*
* If @action_namespace is non-%NULL then the effect is as if all
* actions mentioned in the @model have their names prefixed with the
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c
index d023525..65c49d8 100644
--- a/gtk/gtkmessagedialog.c
+++ b/gtk/gtkmessagedialog.c
@@ -603,7 +603,7 @@ gtk_message_dialog_new (GtkWindow *parent,
* Usually this is what you want, but if you have an existing
* Pango markup string that you want to use literally as the
* label, then you need to use gtk_message_dialog_set_markup()
- * instead, since you can't pass the markup string either
+ * instead, since you can’t pass the markup string either
* as the format (it might contain “%” characters) or as a string
* argument.
* |[<!-- language="C" -->
diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c
index f363cb2..6ececa1 100644
--- a/gtk/gtkmodules.c
+++ b/gtk/gtkmodules.c
@@ -165,7 +165,7 @@ module_build_la_path (const gchar *directory,
* Looks for a dynamically module named @name of type @type in the standard GTK+
* module search path.
*
- * Return value: the pathname to the found module, or %NULL if it wasn't found.
+ * Return value: the pathname to the found module, or %NULL if it wasn’t found.
* Free with g_free().
**/
gchar *
diff --git a/gtk/gtkpagesetupunixdialog.c b/gtk/gtkpagesetupunixdialog.c
index 3b757ea..590de9b 100644
--- a/gtk/gtkpagesetupunixdialog.c
+++ b/gtk/gtkpagesetupunixdialog.c
@@ -51,7 +51,7 @@
* @Title: GtkPageSetupUnixDialog
*
* #GtkPageSetupUnixDialog implements a page setup dialog for platforms
- * which don't provide a native page setup dialog, like Unix. It can
+ * which don’t provide a native page setup dialog, like Unix. It can
* be used very much like any other GTK+ dialog, at the cost of
* the portability offered by the
* [high-level printing API][gtk3-High-level-Printing-API]
diff --git a/gtk/gtkprintjob.c b/gtk/gtkprintjob.c
index 6b78df9..ba44d40 100644
--- a/gtk/gtkprintjob.c
+++ b/gtk/gtkprintjob.c
@@ -26,7 +26,7 @@
*
* Use gtk_print_job_get_surface() to obtain the cairo surface
* onto which the pages must be drawn. Use gtk_print_job_send()
- * to send the finished job to the printer. If you don't use cairo
+ * to send the finished job to the printer. If you don’t use cairo
* #GtkPrintJob also supports printing of manually generated postscript,
* via gtk_print_job_set_source_file().
*/
diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c
index 6a53b92..02b0364 100644
--- a/gtk/gtkprintoperation.c
+++ b/gtk/gtkprintoperation.c
@@ -40,7 +40,7 @@
*
* GtkPrintOperation is the high-level, portable printing API.
* It looks a bit different than other GTK+ dialogs such as the
- * #GtkFileChooser, since some platforms don't expose enough
+ * #GtkFileChooser, since some platforms don’t expose enough
* infrastructure to implement a good print dialog. On such
* platforms, GtkPrintOperation uses the native print dialog.
* On platforms which do not provide a native print dialog, GTK+
@@ -1570,7 +1570,7 @@ gtk_print_operation_get_print_settings (GtkPrintOperation *op)
* Sets the name of the print job. The name is used to identify
* the job (e.g. in monitoring applications like eggcups).
*
- * If you don't set a job name, GTK+ picks a default one by
+ * If you don’t set a job name, GTK+ picks a default one by
* numbering successive print jobs.
*
* Since: 2.10
diff --git a/gtk/gtkprintsettings.c b/gtk/gtkprintsettings.c
index 5098ec6..6ad4e10 100644
--- a/gtk/gtkprintsettings.c
+++ b/gtk/gtkprintsettings.c
@@ -38,7 +38,7 @@
* a system-independent way. The main use for this object is that once
* you've printed you can get a settings object that represents the settings
* the user chose, and the next time you print you can pass that object in so
- * that the user doesn't have to re-set all his settings.
+ * that the user doesn’t have to re-set all his settings.
*
* Its also possible to enumerate the settings so that you can easily save
* the settings for the next time your app runs, or even store them in a
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index d142eb6..052271b 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -65,7 +65,7 @@
* @See_also: #GtkPageSetupUnixDialog, #GtkPrinter, #GtkPrintJob
*
* GtkPrintUnixDialog implements a print dialog for platforms
- * which don't provide a native print dialog, like Unix. It can
+ * which don’t provide a native print dialog, like Unix. It can
* be used very much like any other GTK+ dialog, at the cost of
* the portability offered by the
* [high-level printing API][gtk3-High-level-Printing-API]
@@ -3631,7 +3631,7 @@ gtk_print_unix_dialog_set_settings (GtkPrintUnixDialog *dialog,
* Gets a new #GtkPrintSettings object that represents the
* current values in the print dialog. Note that this creates a
* new object, and you need to unref it
- * if don't want to keep it.
+ * if don’t want to keep it.
*
* Returns: a new #GtkPrintSettings object with the values from @dialog
*
@@ -3723,7 +3723,7 @@ gtk_print_unix_dialog_add_custom_tab (GtkPrintUnixDialog *dialog,
*
* This lets you specify the printing capabilities your application
* supports. For instance, if you can handle scaling the output then
- * you pass #GTK_PRINT_CAPABILITY_SCALE. If you don't pass that, then
+ * you pass #GTK_PRINT_CAPABILITY_SCALE. If you don’t pass that, then
* the dialog will only let you select the scale if the printing
* system automatically handles scaling.
*
diff --git a/gtk/gtkprivate.c b/gtk/gtkprivate.c
index c6d166f..77463e3 100644
--- a/gtk/gtkprivate.c
+++ b/gtk/gtkprivate.c
@@ -79,8 +79,8 @@ _gtk_get_data_prefix (void)
* Swedish as written in Finland or pt_BR for Portuguese as written in
* Brazil.
*
- * On Windows, the C library doesn't use any such environment
- * variables, and setting them won't affect the behaviour of functions
+ * On Windows, the C library doesn’t use any such environment
+ * variables, and setting them won’t affect the behaviour of functions
* like ctime(). The user sets the locale through the Regional Options
* in the Control Panel. The C library (in the setlocale() function)
* does not use country and language codes, but country and language
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c
index 103bf15..71c5833 100644
--- a/gtk/gtkprogressbar.c
+++ b/gtk/gtkprogressbar.c
@@ -1089,7 +1089,7 @@ gtk_progress_bar_update_pulse (GtkProgressBar *pbar)
* gtk_progress_bar_pulse:
* @pbar: a #GtkProgressBar
*
- * Indicates that some progress has been made, but you don't know how much.
+ * Indicates that some progress has been made, but you don’t know how much.
* Causes the progress bar to enter “activity mode,” where a block
* bounces back and forth. Each call to gtk_progress_bar_pulse()
* causes the block to move by a little bit (the amount of movement
diff --git a/gtk/gtkquartz.c b/gtk/gtkquartz.c
index ba204f3..acd1f18 100644
--- a/gtk/gtkquartz.c
+++ b/gtk/gtkquartz.c
@@ -287,7 +287,7 @@ _gtk_quartz_set_selection_data_for_pasteboard (NSPasteboard *pasteboard,
#ifdef QUARTZ_RELOCATION
/* Bundle-based functions for various directories. These almost work
- * even when the application isn't in a bundle, becuase mainBundle
+ * even when the application isn’t in a bundle, becuase mainBundle
* paths point to the bin directory in that case. It’s a simple matter
* to test for that and remove the last element.
*/
diff --git a/gtk/gtkrecentchooser.c b/gtk/gtkrecentchooser.c
index 950e587..b3ee788 100644
--- a/gtk/gtkrecentchooser.c
+++ b/gtk/gtkrecentchooser.c
@@ -331,10 +331,10 @@ gtk_recent_chooser_get_show_private (GtkRecentChooser *chooser)
/**
* gtk_recent_chooser_set_show_not_found:
* @chooser: a #GtkRecentChooser
- * @show_not_found: whether to show the local items we didn't find
+ * @show_not_found: whether to show the local items we didn’t find
*
* Sets whether @chooser should display the recently used resources that
- * it didn't find. This only applies to local resources.
+ * it didn’t find. This only applies to local resources.
*
* Since: 2.10
*/
diff --git a/gtk/gtkrecentchooserutils.c b/gtk/gtkrecentchooserutils.c
index 3d496d0..98f2cd3 100644
--- a/gtk/gtkrecentchooserutils.c
+++ b/gtk/gtkrecentchooserutils.c
@@ -67,7 +67,7 @@ static void delegate_item_activated (GtkRecentChooser *receiver,
* #GtkRecentChooser. A #GtkParamSpecOverride property is installed
* for each property, using the values from the #GtkRecentChooserProp
* enumeration. The caller must make sure itself that the enumeration
- * values don't collide with some other property values they
+ * values don’t collide with some other property values they
* are using.
*/
void
diff --git a/gtk/gtkrecentfilter.c b/gtk/gtkrecentfilter.c
index e5077eb..ea6066d 100644
--- a/gtk/gtkrecentfilter.c
+++ b/gtk/gtkrecentfilter.c
@@ -660,7 +660,7 @@ gtk_recent_filter_add_age (GtkRecentFilter *filter,
* function. The bitfield @needed which is passed in provides information
* about what sorts of information that the filter function needs;
* this allows GTK+ to avoid retrieving expensive information when
- * it isn't needed by the filter.
+ * it isn’t needed by the filter.
*
* Since: 2.10
**/
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index 5d23930..c177225 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -68,7 +68,7 @@
* #GtkScrolledWindow with gtk_container_add(). If a widget does not, you
* must first add the widget to a #GtkViewport, then add the #GtkViewport
* to the scrolled window. gtk_container_add() will do this for you for
- * widgets that don't implement #GtkScrollable natively, so you can
+ * widgets that don’t implement #GtkScrollable natively, so you can
* ignore the presence of the viewport.
*
* The position of the scrollbars is controlled by the scroll
@@ -81,8 +81,8 @@
* asks to step down (using the small stepper arrows) or page down (using
* for example the PageDown key).
*
- * If a #GtkScrolledWindow doesn't behave quite as you would like, or
- * doesn't have exactly the right layout, it’s very possible to set up
+ * If a #GtkScrolledWindow doesn’t behave quite as you would like, or
+ * doesn’t have exactly the right layout, it’s very possible to set up
* your own scrolling with #GtkScrollbar and for example a #GtkGrid.
*/
@@ -112,7 +112,7 @@
* child would have allocated without the scrolled window.
*
* conclusions:
- * A) from 1) follows: the scrolled window shouldn't request more space for a
+ * A) from 1) follows: the scrolled window shouldn’t request more space for a
* specifc dimension than is required at minimum.
* B) from 1.1) follows: the requisition may be overidden by usize of the scrolled
* window (done automatically) or by usize of the child (needs to be checked).
@@ -2996,7 +2996,7 @@ gtk_scrolled_window_remove (GtkContainer *container,
* #GtkScrollable interface.
*
* Deprecated: 3.8: gtk_container_add() will now automatically add
- * a #GtkViewport if the child doesn't implement #GtkScrollable.
+ * a #GtkViewport if the child doesn’t implement #GtkScrollable.
*/
void
gtk_scrolled_window_add_with_viewport (GtkScrolledWindow *scrolled_window,
diff --git a/gtk/gtksearchbar.c b/gtk/gtksearchbar.c
index 38d2611..2e9c8ac 100644
--- a/gtk/gtksearchbar.c
+++ b/gtk/gtksearchbar.c
@@ -469,7 +469,7 @@ gtk_search_bar_new (void)
*
* Connects the #GtkEntry widget passed as the one to be used in
* this search bar. The entry should be a descendant of the search bar.
- * This is only required if the entry isn't the direct child of the
+ * This is only required if the entry isn’t the direct child of the
* search bar (as in our main example).
*
* Since: 3.10
diff --git a/gtk/gtksearchenginetracker.c b/gtk/gtksearchenginetracker.c
index 4c3348d..6bc5e20 100644
--- a/gtk/gtksearchenginetracker.c
+++ b/gtk/gtksearchenginetracker.c
@@ -47,7 +47,7 @@
/* If defined, we use fts:match, this has to be enabled in Tracker to
* work which it usually is. The alternative is to undefine it and
- * use filename matching instead. This doesn't use the content of the
+ * use filename matching instead. This doesn’t use the content of the
* file however.
*/
#undef FTS_MATCHING
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index d3878a7..bd5631d 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -20,7 +20,7 @@
* of John Ousterhout’s Tk toolkit, and does many things in much the
* same way.
*
- * The one thing in the ICCCM that isn't fully supported here (or in Tk)
+ * The one thing in the ICCCM that isn’t fully supported here (or in Tk)
* is side effects targets. For these to be handled properly, MULTIPLE
* targets need to be done in the order specified. This cannot be
* guaranteed with the way we do things, since if we are doing INCR
@@ -33,7 +33,7 @@
* refers to the _sending_ part of the INCR protocol. The receiving
* portion is referred to just as “retrieval”. (Terminology borrowed
* from Tk, because there is no good opposite to “retrieval” in English.
- * “send” can't be made into a noun gracefully and we're already using
+ * “send” can’t be made into a noun gracefully and we're already using
* “emission” for something else ....)
*/
@@ -3035,8 +3035,8 @@ gtk_selection_invoke_handler (GtkWidget *widget,
/*************************************************************
* gtk_selection_default_handler:
* Handles some default targets that exist for any widget
- * If it can't fit results into buffer, returns -1. This
- * won't happen in any conceivable case, since it would
+ * If it can’t fit results into buffer, returns -1. This
+ * won’t happen in any conceivable case, since it would
* require 1000 selection targets!
*
* arguments:
diff --git a/gtk/gtksizegroup-private.h b/gtk/gtksizegroup-private.h
index 148c533..5eab6cf 100644
--- a/gtk/gtksizegroup-private.h
+++ b/gtk/gtksizegroup-private.h
@@ -25,7 +25,7 @@
* GtkQueueResizeFlags:
* @GTK_QUEUE_RESIZE_INVALIDATE_ONLY: invalidate all cached sizes
* as we would normally do when a widget is queued for resize,
- * but don't actually add the toplevel resize container to the
+ * but don’t actually add the toplevel resize container to the
* resize queue. Useful if we want to change the size of a widget
* see how that would affect the overall layout, then restore
* the old size.
diff --git a/gtk/gtksizegroup.c b/gtk/gtksizegroup.c
index 86984c2..da85ab8 100644
--- a/gtk/gtksizegroup.c
+++ b/gtk/gtksizegroup.c
@@ -38,7 +38,7 @@
* #GtkSizeGroup provides a mechanism for grouping a number of widgets
* together so they all request the same amount of space. This is
* typically useful when you want a column of widgets to have the same
- * size, but you can't use a #GtkGrid widget.
+ * size, but you can’t use a #GtkGrid widget.
*
* In detail, the size requested for each widget in a #GtkSizeGroup is
* the maximum of the sizes that would have been requested for each
diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c
index 791d11d..3607bb5 100644
--- a/gtk/gtkstatusicon.c
+++ b/gtk/gtkstatusicon.c
@@ -70,7 +70,7 @@
* The icon can have a tooltip, and the user can interact with it by
* activating it or popping up a context menu. Critical information should
* not solely be displayed in a #GtkStatusIcon, since it may not be
- * visible (e.g. when the user doesn't have a notification area on his panel).
+ * visible (e.g. when the user doesn’t have a notification area on his panel).
* This can be checked with gtk_status_icon_is_embedded().
*
* On X11, the implementation follows the
@@ -80,7 +80,7 @@
*
* Note that a GtkStatusIcon is not a widget, but just
* a #GObject. Making it a widget would be impractical, since the system tray
- * on Win32 doesn't allow to embed arbitrary widgets.
+ * on Win32 doesn’t allow to embed arbitrary widgets.
*/
diff --git a/gtk/gtkstyleprovider.c b/gtk/gtkstyleprovider.c
index c1eb72e..fab975a 100644
--- a/gtk/gtkstyleprovider.c
+++ b/gtk/gtkstyleprovider.c
@@ -60,7 +60,7 @@ gtk_style_provider_iface_init (gpointer g_iface)
* @path: #GtkWidgetPath to query
*
* Returns the style settings affecting a widget defined by @path, or %NULL if
- * @provider doesn't contemplate styling @path.
+ * @provider doesn’t contemplate styling @path.
*
* Returns: (transfer full): a #GtkStyleProperties containing the
* style settings affecting @path
diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c
index 925d627..5c9ea68 100644
--- a/gtk/gtktextbtree.c
+++ b/gtk/gtktextbtree.c
@@ -5592,7 +5592,7 @@ gtk_text_btree_node_get_size (GtkTextBTreeNode *node, gpointer view_id,
}
/* Find the closest common ancestor of the two nodes. FIXME: The interface
- * here isn't quite right, since for a lot of operations we want to
+ * here isn’t quite right, since for a lot of operations we want to
* know which children of the common parent correspond to the two nodes
* (e.g., when computing the order of two iters)
*/
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index af7b683..4114210 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -1411,7 +1411,7 @@ gtk_text_buffer_real_insert_range (GtkTextBuffer *buffer,
* @end: another position in the same buffer as @start
*
* Copies text, tags, and pixbufs between @start and @end (the order
- * of @start and @end doesn't matter) and inserts the copy at @iter.
+ * of @start and @end doesn’t matter) and inserts the copy at @iter.
* Used instead of simply getting/inserting text because it preserves
* images and tags. If @start and @end are in a different buffer from
* @buffer, the two buffers must share the same tag table.
@@ -1447,7 +1447,7 @@ gtk_text_buffer_insert_range (GtkTextBuffer *buffer,
* @default_editable: default editability of the buffer
*
* Same as gtk_text_buffer_insert_range(), but does nothing if the
- * insertion point isn't editable. The @default_editable parameter
+ * insertion point isn’t editable. The @default_editable parameter
* indicates whether the text is editable at @iter if no tags
* enclosing @iter affect editability. Typically the result of
* gtk_text_view_get_editable() is appropriate here.
@@ -2217,8 +2217,8 @@ gtk_text_buffer_get_iter_at_mark (GtkTextBuffer *buffer,
*
* Deletes @mark, so that it’s no longer located anywhere in the
* buffer. Removes the reference the buffer holds to the mark, so if
- * you haven't called g_object_ref() on the mark, it will be freed. Even
- * if the mark isn't freed, most operations on @mark become
+ * you haven’t called g_object_ref() on the mark, it will be freed. Even
+ * if the mark isn’t freed, most operations on @mark become
* invalid, until it gets added to a buffer again with
* gtk_text_buffer_add_mark(). Use gtk_text_mark_get_deleted() to
* find out if a mark has been removed from its buffer.
@@ -2634,7 +2634,7 @@ gtk_text_buffer_apply_tag (GtkTextBuffer *buffer,
*
* Emits the “remove-tag” signal. The default handler for the signal
* removes all occurrences of @tag from the given range. @start and
- * @end don't have to be in order.
+ * @end don’t have to be in order.
**/
void
gtk_text_buffer_remove_tag (GtkTextBuffer *buffer,
@@ -3110,7 +3110,7 @@ gtk_text_buffer_get_line_count (GtkTextBuffer *buffer)
* @buffer: a #GtkTextBuffer
*
* Gets the number of characters in the buffer; note that characters
- * and bytes are not the same, you can't e.g. expect the contents of
+ * and bytes are not the same, you can’t e.g. expect the contents of
* the buffer in string form to be this many bytes long. The character
* count is cached, so this function is very fast.
*
@@ -3822,7 +3822,7 @@ gtk_text_buffer_paste_clipboard (GtkTextBuffer *buffer,
*
* Deletes the range between the “insert” and “selection_bound” marks,
* that is, the currently-selected text. If @interactive is %TRUE,
- * the editability of the selection will be considered (users can't delete
+ * the editability of the selection will be considered (users can’t delete
* uneditable text).
*
* Return value: whether there was a non-empty selection to delete
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c
index e033379..bfaa09b 100644
--- a/gtk/gtktextiter.c
+++ b/gtk/gtktextiter.c
@@ -1053,7 +1053,7 @@ gtk_text_iter_get_child_anchor (const GtkTextIter *iter)
* @iter: an iterator
*
* Returns a list of all #GtkTextMark at this location. Because marks
- * are not iterable (they don't take up any "space" in the buffer,
+ * are not iterable (they don’t take up any "space" in the buffer,
* they are just marks in between iterable locations), multiple marks
* can exist in the same place. The returned list is not in any
* meaningful order.
@@ -1334,7 +1334,7 @@ gtk_text_iter_has_tag (const GtkTextIter *iter,
*
* Returns a list of tags that apply to @iter, in ascending order of
* priority (highest-priority tags are last). The #GtkTextTag in the
- * list don't have a reference added, but you have to free the list
+ * list don’t have a reference added, but you have to free the list
* itself.
*
* Return value: (element-type GtkTextTag) (transfer container): list of #GtkTextTag
@@ -1380,13 +1380,13 @@ gtk_text_iter_get_tags (const GtkTextIter *iter)
* @default_setting: %TRUE if text is editable by default
*
* Returns whether the character at @iter is within an editable region
- * of text. Non-editable text is “locked” and can't be changed by the
+ * of text. Non-editable text is “locked” and can’t be changed by the
* user via #GtkTextView. This function is simply a convenience
* wrapper around gtk_text_iter_get_attributes (). If no tags applied
* to this text affect editability, @default_setting will be returned.
*
- * You don't want to use this function to decide whether text can be
- * inserted at @iter, because for insertion you don't want to know
+ * You don’t want to use this function to decide whether text can be
+ * inserted at @iter, because for insertion you don’t want to know
* whether the char at @iter is inside an editable range, you want to
* know whether a new character inserted at @iter would be inside an
* editable range. Use gtk_text_iter_can_insert() to handle this
@@ -1491,7 +1491,7 @@ gtk_text_iter_get_language (const GtkTextIter *iter)
* Returns %TRUE if @iter begins a paragraph,
* i.e. if gtk_text_iter_get_line_offset () would return 0.
* However this function is potentially more efficient than
- * gtk_text_iter_get_line_offset () because it doesn't have to compute
+ * gtk_text_iter_get_line_offset () because it doesn’t have to compute
* the offset, it just has to see whether it’s 0.
*
* Return value: whether @iter begins a line
@@ -1793,7 +1793,7 @@ gtk_text_iter_get_attributes (const GtkTextIter *iter,
*
* This function will not change the iterator if
* it’s already on the last (end iter) line, i.e. it
- * won't move to the end of the last line.
+ * won’t move to the end of the last line.
*/
static gboolean
forward_line_leaving_caches_unmodified (GtkTextRealIter *real)
@@ -2349,7 +2349,7 @@ gtk_text_iter_forward_chars (GtkTextIter *iter, gint count)
* Moves @count characters backward, if possible (if @count would move
* past the start or end of the buffer, moves to the start or end of
* the buffer). The return value indicates whether the iterator moved
- * onto a dereferenceable position; if the iterator didn't move, or
+ * onto a dereferenceable position; if the iterator didn’t move, or
* moved onto the end iterator, then %FALSE is returned. If @count is 0,
* the function does nothing and returns %FALSE.
*
@@ -2631,7 +2631,7 @@ gtk_text_iter_backward_line (GtkTextIter *iter)
* Moves @count lines forward, if possible (if @count would move
* past the start or end of the buffer, moves to the start or end of
* the buffer). The return value indicates whether the iterator moved
- * onto a dereferenceable position; if the iterator didn't move, or
+ * onto a dereferenceable position; if the iterator didn’t move, or
* moved onto the end iterator, then %FALSE is returned. If @count is 0,
* the function does nothing and returns %FALSE. If @count is negative,
* moves backward by 0 - @count lines.
@@ -2682,7 +2682,7 @@ gtk_text_iter_forward_lines (GtkTextIter *iter, gint count)
* Moves @count lines backward, if possible (if @count would move
* past the start or end of the buffer, moves to the start or end of
* the buffer). The return value indicates whether the iterator moved
- * onto a dereferenceable position; if the iterator didn't move, or
+ * onto a dereferenceable position; if the iterator didn’t move, or
* moved onto the end iterator, then %FALSE is returned. If @count is 0,
* the function does nothing and returns %FALSE. If @count is negative,
* moves forward by 0 - @count lines.
@@ -2799,7 +2799,7 @@ gtk_text_iter_backward_visible_line (GtkTextIter *iter)
* Moves @count visible lines forward, if possible (if @count would move
* past the start or end of the buffer, moves to the start or end of
* the buffer). The return value indicates whether the iterator moved
- * onto a dereferenceable position; if the iterator didn't move, or
+ * onto a dereferenceable position; if the iterator didn’t move, or
* moved onto the end iterator, then %FALSE is returned. If @count is 0,
* the function does nothing and returns %FALSE. If @count is negative,
* moves backward by 0 - @count lines.
@@ -2839,7 +2839,7 @@ gtk_text_iter_forward_visible_lines (GtkTextIter *iter,
* Moves @count visible lines backward, if possible (if @count would move
* past the start or end of the buffer, moves to the start or end of
* the buffer). The return value indicates whether the iterator moved
- * onto a dereferenceable position; if the iterator didn't move, or
+ * onto a dereferenceable position; if the iterator didn’t move, or
* moved onto the end iterator, then %FALSE is returned. If @count is 0,
* the function does nothing and returns %FALSE. If @count is negative,
* moves forward by 0 - @count lines.
@@ -3607,7 +3607,7 @@ is_cursor_pos_func (const PangoLogAttr *attrs,
* a carriage return/newline sequence. For some Unicode characters,
* the equivalent of say the letter “a” with an accent mark will be
* represented as two characters, first the letter then a "combining
- * mark" that causes the accent to be rendered; so the cursor can't go
+ * mark" that causes the accent to be rendered; so the cursor can’t go
* between those two characters. See also the #PangoLogAttr-struct and
* pango_break() function.
*
@@ -3810,7 +3810,7 @@ gtk_text_iter_set_line_offset (GtkTextIter *iter,
*
* Same as gtk_text_iter_set_line_offset(), but works with a
* byte index. The given byte index must be at
- * the start of a character, it can't be in the middle of a UTF-8
+ * the start of a character, it can’t be in the middle of a UTF-8
* encoded character.
*
**/
diff --git a/gtk/gtktextiter.h b/gtk/gtktextiter.h
index 58f1274..994f996 100644
--- a/gtk/gtktextiter.h
+++ b/gtk/gtktextiter.h
@@ -297,8 +297,8 @@ GDK_AVAILABLE_IN_ALL
gboolean gtk_text_iter_backward_sentence_starts (GtkTextIter *iter,
gint count);
/* cursor positions are almost equivalent to chars, but not quite;
- * in some languages, you can't put the cursor between certain
- * chars. Also, you can't put the cursor between \r\n at the end
+ * in some languages, you can’t put the cursor between certain
+ * chars. Also, you can’t put the cursor between \r\n at the end
* of a line.
*/
GDK_AVAILABLE_IN_ALL
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c
index 0426b0f..7c551c1 100644
--- a/gtk/gtktextlayout.c
+++ b/gtk/gtktextlayout.c
@@ -769,7 +769,7 @@ invalidate_cached_style (GtkTextLayout *layout)
}
/* These should be called around a loop which wraps a CONTIGUOUS bunch
- * of display lines. If the lines aren't contiguous you can't call
+ * of display lines. If the lines aren’t contiguous you can’t call
* these.
*/
void
diff --git a/gtk/gtktextsegment.c b/gtk/gtktextsegment.c
index aef42db..fd7321b 100644
--- a/gtk/gtktextsegment.c
+++ b/gtk/gtktextsegment.c
@@ -391,7 +391,7 @@ char_segment_delete_func (GtkTextLineSegment *segPtr, GtkTextLine *line, int tre
* None.
*
* Side effects:
- * If the segment isn't inconsistent then the procedure
+ * If the segment isn’t inconsistent then the procedure
* g_errors.
*
*--------------------------------------------------------------
diff --git a/gtk/gtktexttagtable.c b/gtk/gtktexttagtable.c
index 062a71f..9ac3150 100644
--- a/gtk/gtktexttagtable.c
+++ b/gtk/gtktexttagtable.c
@@ -309,7 +309,7 @@ gtk_text_tag_table_lookup (GtkTextTagTable *table,
*
* Remove a tag from the table. If a #GtkTextBuffer has @table as its tag table,
* the tag is removed from the buffer. The table’s reference to the tag is
- * removed, so the tag will end up destroyed if you don't have a reference to
+ * removed, so the tag will end up destroyed if you don’t have a reference to
* it.
**/
void
@@ -386,7 +386,7 @@ list_foreach (gpointer data, gpointer user_data)
*
* Calls @func on each tag in @table, with user data @data.
* Note that the table may not be modified while iterating
- * over it (you can't add/remove tags).
+ * over it (you can’t add/remove tags).
**/
void
gtk_text_tag_table_foreach (GtkTextTagTable *table,
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index a4efa7e..18a1659 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -1562,7 +1562,7 @@ gtk_text_view_init (GtkTextView *text_view)
/**
* gtk_text_view_new:
*
- * Creates a new #GtkTextView. If you don't call gtk_text_view_set_buffer()
+ * Creates a new #GtkTextView. If you don’t call gtk_text_view_set_buffer()
* before using the text view, an empty default buffer will be created
* for you. Get the buffer with gtk_text_view_get_buffer(). If you want
* to specify your own buffer, consider gtk_text_view_new_with_buffer().
@@ -1766,7 +1766,7 @@ get_buffer (GtkTextView *text_view)
*
* Returns the #GtkTextBuffer being displayed by this text view.
* The reference count on the buffer is not incremented; the caller
- * of this function won't own a new reference.
+ * of this function won’t own a new reference.
*
* Return value: (transfer none): a #GtkTextBuffer
**/
@@ -2481,7 +2481,7 @@ clamp_iter_onscreen (GtkTextView *text_view, GtkTextIter *iter)
* Moves a mark within the buffer so that it's
* located within the currently-visible text area.
*
- * Return value: %TRUE if the mark moved (wasn't already onscreen)
+ * Return value: %TRUE if the mark moved (wasn’t already onscreen)
**/
gboolean
gtk_text_view_move_mark_onscreen (GtkTextView *text_view,
@@ -3059,7 +3059,7 @@ gtk_text_view_toggle_cursor_visible (GtkTextView *text_view)
* @setting: whether to show the insertion cursor
*
* Toggles whether the insertion point is displayed. A buffer with no editable
- * text probably shouldn't have a visible cursor, so you may want to turn
+ * text probably shouldn’t have a visible cursor, so you may want to turn
* the cursor off.
**/
void
@@ -3112,7 +3112,7 @@ gtk_text_view_get_cursor_visible (GtkTextView *text_view)
* @text_view: a #GtkTextView
*
* Moves the cursor to the currently visible region of the
- * buffer, it it isn't there already.
+ * buffer, it it isn’t there already.
*
* Return value: %TRUE if the cursor had to be moved.
**/
@@ -9605,7 +9605,7 @@ buffer_to_text_window (GtkTextView *text_view,
* Converts coordinate (@buffer_x, @buffer_y) to coordinates for the window
* @win, and stores the result in (@window_x, @window_y).
*
- * Note that you can't convert coordinates for a nonexisting window (see
+ * Note that you can’t convert coordinates for a nonexisting window (see
* gtk_text_view_set_border_window_size()).
**/
void
@@ -9749,7 +9749,7 @@ text_window_to_buffer (GtkTextView *text_view,
* Converts coordinates on the window identified by @win to buffer
* coordinates, storing the result in (@buffer_x,@buffer_y).
*
- * Note that you can't convert coordinates for a nonexisting window (see
+ * Note that you can’t convert coordinates for a nonexisting window (see
* gtk_text_view_set_border_window_size()).
**/
void
@@ -9905,7 +9905,7 @@ set_window_height (GtkTextView *text_view,
* or the height of %GTK_TEXT_WINDOW_TOP or %GTK_TEXT_WINDOW_BOTTOM.
* Automatically destroys the corresponding window if the size is set
* to 0, and creates the window if the size is set to non-zero. This
- * function can only be used for the “border windows,” it doesn't work
+ * function can only be used for the “border windows,” it doesn’t work
* with #GTK_TEXT_WINDOW_WIDGET, #GTK_TEXT_WINDOW_TEXT, or
* #GTK_TEXT_WINDOW_PRIVATE.
**/
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index 2ecd22c..2fff490 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -958,7 +958,7 @@ gtk_theming_module_init (GtkThemingModule *module)
* standard directories.
*
* Returns: (transfer none): A theming engine, or %NULL if
- * the engine @name doesn't exist.
+ * the engine @name doesn’t exist.
**/
GtkThemingEngine *
gtk_theming_engine_load (const gchar *name)
diff --git a/gtk/gtktogglebutton.c b/gtk/gtktogglebutton.c
index 4e54a8a..c01c8ea 100644
--- a/gtk/gtktogglebutton.c
+++ b/gtk/gtktogglebutton.c
@@ -523,7 +523,7 @@ gtk_toggle_button_toggled (GtkToggleButton *toggle_button)
* “in between” display. Normally you would turn off the inconsistent
* state again if the user toggles the toggle button. This has to be
* done manually, gtk_toggle_button_set_inconsistent() only affects
- * visual appearance, it doesn't affect the semantics of the button.
+ * visual appearance, it doesn’t affect the semantics of the button.
*
**/
void
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index b6aa77d..b9ef0bd 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -2892,7 +2892,7 @@ gtk_toolbar_get_n_items (GtkToolbar *toolbar)
* toolbar does not contain an @n<!-- -->'th item.
*
* Return value: (transfer none): The @n<!-- -->'th #GtkToolItem on @toolbar,
- * or %NULL if there isn't an @n<!-- -->'th item.
+ * or %NULL if there isn’t an @n<!-- -->'th item.
*
* Since: 2.4
**/
@@ -2962,7 +2962,7 @@ gtk_toolbar_get_relief_style (GtkToolbar *toolbar)
* @show_arrow: Whether to show an overflow menu
*
* Sets whether to show an overflow menu when
- * @toolbar doesn't have room for all items on it. If %TRUE,
+ * @toolbar doesn’t have room for all items on it. If %TRUE,
* items that there are not room are available through an
* overflow menu.
*
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c
index dfea80d..148cd81 100644
--- a/gtk/gtktoolbutton.c
+++ b/gtk/gtktoolbutton.c
@@ -1175,7 +1175,7 @@ gtk_tool_button_set_label (GtkToolButton *button,
* @button: a #GtkToolButton
*
* Returns the label used by the tool button, or %NULL if the tool button
- * doesn't have a label. or uses a the label from a stock item. The returned
+ * doesn’t have a label. or uses a the label from a stock item. The returned
* string is owned by GTK+, and must not be modified or freed.
*
* Return value: The label, or %NULL
diff --git a/gtk/gtktreednd.c b/gtk/gtktreednd.c
index 0c6bf7a..0e1d2ef 100644
--- a/gtk/gtktreednd.c
+++ b/gtk/gtktreednd.c
@@ -105,7 +105,7 @@ gtk_tree_drag_dest_get_type (void)
* @path: row on which user is initiating a drag
*
* Asks the #GtkTreeDragSource whether a particular row can be used as
- * the source of a DND operation. If the source doesn't implement
+ * the source of a DND operation. If the source doesn’t implement
* this interface, the row is assumed draggable.
*
* Return value: %TRUE if the row can be dragged
@@ -221,7 +221,7 @@ gtk_tree_drag_dest_drag_data_received (GtkTreeDragDest *drag_dest,
* at the same depth as @dest_path. i.e., can we drop the data in
* @selection_data at that location. @dest_path does not have to
* exist; the return value will almost certainly be %FALSE if the
- * parent of @dest_path doesn't exist, though.
+ * parent of @dest_path doesn’t exist, though.
*
* Return value: %TRUE if a drop is possible before @dest_path
**/
@@ -312,7 +312,7 @@ gtk_tree_set_row_drag_data (GtkSelectionData *selection_data,
* %GTK_TREE_MODEL_ROW. Normally called from a drag_data_received handler.
* This function can only be used if @selection_data originates from the same
* process that’s calling this function, because a pointer to the tree model
- * is being passed around. If you aren't in the same process, then you'll
+ * is being passed around. If you aren’t in the same process, then you'll
* get memory corruption. In the #GtkTreeDragDest drag_data_received handler,
* you can assume that selection data of type %GTK_TREE_MODEL_ROW is
* in from the current process. The returned path must be freed with
diff --git a/gtk/gtktreemodel.c b/gtk/gtktreemodel.c
index 635ecdd..6ebbccf 100644
--- a/gtk/gtktreemodel.c
+++ b/gtk/gtktreemodel.c
@@ -96,7 +96,7 @@
*
* The lifecycle of an iterator can be a little confusing at first.
* Iterators are expected to always be valid for as long as the model
- * is unchanged (and doesn't emit a signal). The model is considered
+ * is unchanged (and doesn’t emit a signal). The model is considered
* to own all outstanding iterators and nothing needs to be done to
* free them from the user’s point of view. Additionally, some models
* guarantee that an iterator is valid for as long as the node it refers
@@ -1626,7 +1626,7 @@ gtk_tree_model_iter_nth_child (GtkTreeModel *tree_model,
*
* Sets @iter to be the parent of @child.
*
- * If @child is at the toplevel, and doesn't have a parent, then
+ * If @child is at the toplevel, and doesn’t have a parent, then
* @iter is set to an invalid iterator and %FALSE is returned.
* @child will remain a valid node after this function has been
* called.
@@ -2266,7 +2266,7 @@ gtk_tree_row_reference_unref_path (GtkTreePath *path,
* This reference will keep pointing to the node pointed to
* by @path, so long as it exists. Any changes that occur on @model are
* propagated, and the path is updated appropriately. If
- * @path isn't a valid path in @model, then %NULL is returned.
+ * @path isn’t a valid path in @model, then %NULL is returned.
*
* Return value: a newly allocated #GtkTreeRowReference, or %NULL
*/
@@ -2295,7 +2295,7 @@ gtk_tree_row_reference_new (GtkTreeModel *model,
* Creates a row reference based on @path.
*
* This reference will keep pointing to the node pointed to
- * by @path, so long as it exists. If @path isn't a valid
+ * by @path, so long as it exists. If @path isn’t a valid
* path in @model, then %NULL is returned. However, unlike
* references created with gtk_tree_row_reference_new(), it
* does not listen to the model for changes. The creator of
@@ -2309,7 +2309,7 @@ gtk_tree_row_reference_new (GtkTreeModel *model,
* objects like #GtkTreeView already use this mechanism internally,
* using them as the proxy object will produce unpredictable results.
* Further more, passing the same object as @model and @proxy
- * doesn't work for reasons of internal implementation.
+ * doesn’t work for reasons of internal implementation.
*
* This type of row reference is primarily meant by structures that
* need to carefully monitor exactly when a row reference updates
diff --git a/gtk/gtktreemodelfilter.c b/gtk/gtktreemodelfilter.c
index ec966f8..d248b09 100644
--- a/gtk/gtktreemodelfilter.c
+++ b/gtk/gtktreemodelfilter.c
@@ -166,7 +166,7 @@
* Throughout the code, two kinds of paths relative to the GtkTreeModelFilter
* (those generated from the sequence positions) are used. There are paths
* which take non-visible nodes into account (generated from the full
- * sequences) and paths which don't (generated from the visible sequences).
+ * sequences) and paths which don’t (generated from the visible sequences).
* Paths which have been generated from the full sequences should only be
* used internally and NEVER be passed along with a signal emisson.
*
@@ -4126,7 +4126,7 @@ gtk_real_tree_model_filter_convert_child_path_to_path (GtkTreeModelFilter *filte
*
* Converts @child_path to a path relative to @filter. That is, @child_path
* points to a path in the child model. The rerturned path will point to the
- * same row in the filtered model. If @child_path isn't a valid path on the
+ * same row in the filtered model. If @child_path isn’t a valid path on the
* child model or points to a row which is not visible in @filter, then %NULL
* is returned.
*
@@ -4276,9 +4276,9 @@ gtk_tree_model_filter_refilter (GtkTreeModelFilter *filter)
* @filter: A #GtkTreeModelFilter.
*
* This function should almost never be called. It clears the @filter
- * of any cached iterators that haven't been reffed with
+ * of any cached iterators that haven’t been reffed with
* gtk_tree_model_ref_node(). This might be useful if the child model
- * being filtered is static (and doesn't change often) and there has been
+ * being filtered is static (and doesn’t change often) and there has been
* a lot of unreffed access to nodes. As a side effect of this function,
* all unreffed iters will be invalid.
*
diff --git a/gtk/gtktreemodelsort.c b/gtk/gtktreemodelsort.c
index e1c5d61..85f5c6a 100644
--- a/gtk/gtktreemodelsort.c
+++ b/gtk/gtktreemodelsort.c
@@ -2287,7 +2287,7 @@ gtk_real_tree_model_sort_convert_child_path_to_path (GtkTreeModelSort *tree_mode
*
* Converts @child_path to a path relative to @tree_model_sort. That is,
* @child_path points to a path in the child model. The returned path will
- * point to the same row in the sorted model. If @child_path isn't a valid
+ * point to the same row in the sorted model. If @child_path isn’t a valid
* path on the child model, then %NULL is returned.
*
* Return value: A newly allocated #GtkTreePath, or %NULL
@@ -2725,9 +2725,9 @@ gtk_tree_model_sort_reset_default_sort_func (GtkTreeModelSort *tree_model_sort)
* @tree_model_sort: A #GtkTreeModelSort
*
* This function should almost never be called. It clears the @tree_model_sort
- * of any cached iterators that haven't been reffed with
+ * of any cached iterators that haven’t been reffed with
* gtk_tree_model_ref_node(). This might be useful if the child model being
- * sorted is static (and doesn't change often) and there has been a lot of
+ * sorted is static (and doesn’t change often) and there has been a lot of
* unreffed access to nodes. As a side effect of this function, all unreffed
* iters will be invalid.
**/
diff --git a/gtk/gtktreesortable.c b/gtk/gtktreesortable.c
index 1410019..0736bb4 100644
--- a/gtk/gtktreesortable.c
+++ b/gtk/gtktreesortable.c
@@ -216,7 +216,7 @@ gtk_tree_sortable_set_sort_func (GtkTreeSortable *sortable,
* this function.
*
* If @sort_func is %NULL, then there will be no default comparison function.
- * This means that once the model has been sorted, it can't go back to the
+ * This means that once the model has been sorted, it can’t go back to the
* default state. In this case, when the current sort column id of @sortable
* is %GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, the model will be unsorted.
*/
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 512e4b8..a3117e7 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -7160,7 +7160,7 @@ get_dest_row (GdkDragContext *context,
/* Get/set whether drag_motion requested the drag data and
* drag_data_received should thus not actually insert the data,
- * since the data doesn't result from a drop.
+ * since the data doesn’t result from a drop.
*/
static void
set_status_pending (GdkDragContext *context,
@@ -12325,7 +12325,7 @@ gtk_tree_view_set_column_drag_function (GtkTreeView *tree_view,
* this function is called. If it isn't, you probably want to be
* using gtk_tree_view_scroll_to_cell().
*
- * If either @tree_x or @tree_y are -1, then that direction isn't scrolled.
+ * If either @tree_x or @tree_y are -1, then that direction isn’t scrolled.
**/
void
gtk_tree_view_scroll_to_point (GtkTreeView *tree_view,
@@ -13191,7 +13191,7 @@ gtk_tree_view_real_set_cursor (GtkTreeView *tree_view,
* @focus_column: (out) (transfer none) (allow-none): A pointer to be filled with the current focus column,
or %NULL
*
* Fills in @path and @focus_column with the current path and focus column. If
- * the cursor isn't currently set, then * path will be %NULL. If no column
+ * the cursor isn’t currently set, then * path will be %NULL. If no column
* currently has focus, then * focus_column will be %NULL.
*
* The returned #GtkTreePath must be freed with gtk_tree_path_free() when
@@ -13331,7 +13331,7 @@ gtk_tree_view_set_cursor_on_cell (GtkTreeView *tree_view,
* to confirm that the event on @tree_view is on the right window.
*
* Return value: (transfer none): A #GdkWindow, or %NULL when @tree_view
- * hasn't been realized yet
+ * hasn’t been realized yet
**/
GdkWindow *
gtk_tree_view_get_bin_window (GtkTreeView *tree_view)
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c
index 963af15..755aaff 100644
--- a/gtk/gtktreeviewcolumn.c
+++ b/gtk/gtktreeviewcolumn.c
@@ -2735,7 +2735,7 @@ gtk_tree_view_column_set_sort_column_id (GtkTreeViewColumn *tree_column,
* See gtk_tree_view_column_set_sort_column_id().
*
* Return value: the current @sort_column_id for this column, or -1 if
- * this column can't be used for sorting.
+ * this column can’t be used for sorting.
**/
gint
gtk_tree_view_column_get_sort_column_id (GtkTreeViewColumn *tree_column)
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 9e565ea..da5b1a5 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -232,7 +232,7 @@
* minimum and natural height. If there is no baseline you can return -1 to indicate
* this. The default implementation of this virtual function calls into the
* #GtkWidgetClass.get_preferred_height() and #GtkWidgetClass.get_preferred_height_for_width(),
- * so if baselines are not supported it doesn't need to be implemented.
+ * so if baselines are not supported it doesn’t need to be implemented.
*
* If a widget ends up baseline aligned it will be allocated all the space in the parent
* as if it was %GTK_ALIGN_FILL, but the selected baseline can be found via
gtk_widget_get_allocated_baseline().
@@ -4120,7 +4120,7 @@ gtk_widget_thaw_child_notify (GtkWidget *widget)
* its properties in one go. For example you might write:
* `gtk_widget_new (GTK_TYPE_LABEL, "label", "Hello World", "xalign",
* 0.0, NULL)` to create a left-aligned label. Equivalent to
- * g_object_new(), but returns a widget so you don't have to
+ * g_object_new(), but returns a widget so you don’t have to
* cast the object yourself.
*
* Return value: a new #GtkWidget of type @widget_type
@@ -4330,7 +4330,7 @@ gtk_widget_destroyed (GtkWidget *widget,
* gtk_widget_show:
* @widget: a #GtkWidget
*
- * Flags a widget to be displayed. Any widget that isn't shown will
+ * Flags a widget to be displayed. Any widget that isn’t shown will
* not appear on the screen. If you want to show all the widgets in a
* container, it’s easier to call gtk_widget_show_all() on the
* container, instead of individually showing the widgets.
@@ -4538,7 +4538,7 @@ gtk_widget_show_all (GtkWidget *widget)
* @widget: a #GtkWidget
*
* This function is only for use in widget implementations. Causes
- * a widget to be mapped if it isn't already.
+ * a widget to be mapped if it isn’t already.
**/
void
gtk_widget_map (GtkWidget *widget)
@@ -4836,7 +4836,7 @@ static guint tick_callback_id;
* slower). For this reason, is most suitable for handling graphics
* that change every frame or every few frames. The tick callback does
* not automatically imply a relayout or repaint. If you want a
- * repaint or relayout, and aren't changing widget properties that
+ * repaint or relayout, and aren’t changing widget properties that
* would trigger that (for example, changing the text of a #GtkLabel),
* then you will have to call gtk_widget_queue_resize() or
* gtk_widget_queue_draw_area() yourself.
@@ -4981,7 +4981,7 @@ gtk_widget_disconnect_frame_clock (GtkWidget *widget,
* when you realize it, bad things will happen.
*
* This function is primarily used in widget implementations, and
- * isn't very useful otherwise. Many times when you think you might
+ * isn’t very useful otherwise. Many times when you think you might
* need it, a better approach is to connect to a signal that will be
* called after the widget is realized automatically, such as
* #GtkWidget::draw. Or simply g_signal_connect () to the
@@ -5270,7 +5270,7 @@ gtk_widget_queue_resize_no_redraw (GtkWidget *widget)
* gdk_frame_clock_get_frame_time() again during each repaint.
*
* gdk_frame_clock_request_phase() will result in a new frame on the
- * clock, but won't necessarily repaint any widgets. To repaint a
+ * clock, but won’t necessarily repaint any widgets. To repaint a
* widget, you have to use gtk_widget_queue_draw() which invalidates
* the widget (thus scheduling it to receive a draw on the next
* frame). gtk_widget_queue_draw() will also end up requesting a frame
@@ -5983,7 +5983,7 @@ gtk_widget_real_can_activate_accel (GtkWidget *widget,
* Determines whether an accelerator that activates the signal
* identified by @signal_id can currently be activated.
* This is done by emitting the #GtkWidget::can-activate-accel
- * signal on @widget; if the signal isn't overridden by a
+ * signal on @widget; if the signal isn’t overridden by a
* handler or in a derived widget, then the default check is
* that the widget must be sensitive, and the widget and all
* its ancestors mapped.
@@ -6254,7 +6254,7 @@ destroy_accel_path (gpointer data)
* use #GtkUIManager, setting up accelerator paths will be done
* automatically.
*
- * Even when you you aren't using #GtkUIManager, if you only want to
+ * Even when you you aren’t using #GtkUIManager, if you only want to
* set up accelerators on menu items gtk_menu_item_set_accel_path()
* provides a somewhat more convenient interface.
*
@@ -6835,9 +6835,9 @@ gtk_widget_real_touch_event (GtkWidget *widget,
* Rarely-used function. This function is used to emit
* the event signals on a widget (those signals should never
* be emitted without using this function to do so).
- * If you want to synthesize an event though, don't use this function;
+ * If you want to synthesize an event though, don’t use this function;
* instead, use gtk_main_do_event() so the event will behave as if
- * it were in the event queue. Don't synthesize expose events; instead,
+ * it were in the event queue. Don’t synthesize expose events; instead,
* use gdk_window_invalidate_rect() to invalidate a region of the
* window.
*
@@ -7462,7 +7462,7 @@ _gtk_widget_grab_notify (GtkWidget *widget,
*
* Causes @widget to have the keyboard focus for the #GtkWindow it's
* inside. @widget must be a focusable widget, such as a #GtkEntry;
- * something like #GtkFrame won't work.
+ * something like #GtkFrame won’t work.
*
* More precisely, it must have the %GTK_CAN_FOCUS flag set. Use
* gtk_widget_set_can_focus() to modify that flag.
@@ -8366,7 +8366,7 @@ gtk_widget_get_state (GtkWidget *widget)
* @visible: whether the widget should be shown or not
*
* Sets the visibility state of @widget. Note that setting this to
- * %TRUE doesn't mean the widget is actually viewable, see
+ * %TRUE doesn’t mean the widget is actually viewable, see
* gtk_widget_get_visible().
*
* This function simply calls gtk_widget_show() or gtk_widget_hide()
@@ -8706,10 +8706,10 @@ gtk_widget_get_app_paintable (GtkWidget *widget)
* widget. gdk_window_begin_paint_region() diverts all drawing to a widget's
* window to an offscreen buffer, and gdk_window_end_paint() draws the
* buffer to the screen. The result is that users see the window
- * update in one smooth step, and don't see individual graphics
+ * update in one smooth step, and don’t see individual graphics
* primitives being rendered.
*
- * In very simple terms, double buffered widgets don't flicker,
+ * In very simple terms, double buffered widgets don’t flicker,
* so you would only use this function to turn off double buffering
* if you had special needs and really knew what you were doing.
*
@@ -8773,7 +8773,7 @@ gtk_widget_get_double_buffered (GtkWidget *widget)
* Note that for widgets where gtk_widget_get_has_window() is %FALSE
* setting this flag to %FALSE turns off all allocation on resizing:
* the widget will not even redraw if its position changes; this is to
- * allow containers that don't draw anything to avoid excess
+ * allow containers that don’t draw anything to avoid excess
* invalidations. If you set this flag on a widget with no window that
* does draw on @widget->window, you are
* responsible for invalidating both the old and new allocation of the
@@ -8796,7 +8796,7 @@ gtk_widget_set_redraw_on_allocate (GtkWidget *widget,
*
* Sets the sensitivity of a widget. A widget is sensitive if the user
* can interact with it. Insensitive widgets are “grayed out” and the
- * user can't interact with them. Insensitive widgets are known as
+ * user can’t interact with them. Insensitive widgets are known as
* “inactive”, “disabled”, or “ghosted” in some other toolkits.
**/
void
@@ -9787,7 +9787,7 @@ gtk_widget_create_pango_layout (GtkWidget *widget,
* @widget: a #GtkWidget
* @stock_id: a stock ID
* @size: (type int): a stock size. A size of (GtkIconSize)-1 means
- * render at the size of the source and don't scale (if there are
+ * render at the size of the source and don’t scale (if there are
* multiple source sizes, GTK+ picks one of the available sizes).
*
* A convenience function that uses the theme engine and style
@@ -9801,7 +9801,7 @@ gtk_widget_create_pango_layout (GtkWidget *widget,
* after use with g_object_unref().
*
* Return value: (transfer full): a new pixbuf, or %NULL if the
- * stock ID wasn't known
+ * stock ID wasn’t known
*
* Since: 3.0
*
@@ -10192,7 +10192,7 @@ gtk_widget_get_root_window (GtkWidget *widget)
* that widget, and %FALSE if moving in @direction moved the focus
* outside the widget. If returning %TRUE, widgets normally
* call gtk_widget_grab_focus() to place the focus accordingly;
- * if returning %FALSE, they don't modify the current focus location.
+ * if returning %FALSE, they don’t modify the current focus location.
*
* Return value: %TRUE if focus ended up inside @widget
**/
@@ -10497,7 +10497,7 @@ _gtk_widget_restore_size_request (GtkWidget *widget,
* so be careful. This function must be called while a widget is
* unrealized. Consider gtk_widget_add_events() for widgets that are
* already realized, or if you want to preserve the existing event
- * mask. This function can't be used with widgets that have no window.
+ * mask. This function can’t be used with widgets that have no window.
* (See gtk_widget_get_has_window()). To get events on those widgets,
* place them inside a #GtkEventBox and receive events on the event
* box.
@@ -10527,7 +10527,7 @@ gtk_widget_set_events (GtkWidget *widget,
* so be careful. This function must be called while a widget is
* unrealized. Consider gtk_widget_add_device_events() for widgets that are
* already realized, or if you want to preserve the existing event
- * mask. This function can't be used with #GTK_NO_WINDOW widgets;
+ * mask. This function can’t be used with #GTK_NO_WINDOW widgets;
* to get events on those widgets, place them inside a #GtkEventBox
* and receive events on the event box.
*
@@ -10748,7 +10748,7 @@ gtk_widget_add_device_events (GtkWidget *widget,
* Note the difference in behavior vs. gtk_widget_get_ancestor();
* `gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW)`
* would return
- * %NULL if @widget wasn't inside a toplevel window, and if the
+ * %NULL if @widget wasn’t inside a toplevel window, and if the
* window was inside a #GtkWindow<!-- -->-derived widget which was in turn
* inside the toplevel #GtkWindow. While the second case may
* seem unlikely, it actually happens when a #GtkPlug is embedded
@@ -11033,7 +11033,7 @@ static GQuark quark_composite_name = 0;
* Sets a widgets composite name. The widget must be
* a composite child of its parent; see gtk_widget_push_composite_child().
*
- * Deprecated: 3.10: Use gtk_widget_class_set_template(), or don't use this API at all.
+ * Deprecated: 3.10: Use gtk_widget_class_set_template(), or don’t use this API at all.
**/
void
gtk_widget_set_composite_name (GtkWidget *widget,
@@ -11062,7 +11062,7 @@ gtk_widget_set_composite_name (GtkWidget *widget,
* a composite child. The string should be freed when it is no
* longer needed.
*
- * Deprecated: 3.10: Use gtk_widget_class_set_template(), or don't use this API at all.
+ * Deprecated: 3.10: Use gtk_widget_class_set_template(), or don’t use this API at all.
**/
gchar*
gtk_widget_get_composite_name (GtkWidget *widget)
@@ -11088,7 +11088,7 @@ gtk_widget_get_composite_name (GtkWidget *widget)
*
* A composite child is a child that’s an implementation detail of the
* container it’s inside and should not be visible to people using the
- * container. Composite children aren't treated differently by GTK (but
+ * container. Composite children aren’t treated differently by GTK (but
* see gtk_container_foreach() vs. gtk_container_forall()), but e.g. GUI
* builders might want to treat them in a different way.
*
@@ -11117,7 +11117,7 @@ gtk_widget_push_composite_child (void)
*
* Cancels the effect of a previous call to gtk_widget_push_composite_child().
*
- * Deprecated: 3.10: Use gtk_widget_class_set_template(), or don't use this API at all.
+ * Deprecated: 3.10: Use gtk_widget_class_set_template(), or don’t use this API at all.
**/
void
gtk_widget_pop_composite_child (void)
@@ -11907,7 +11907,7 @@ synth_crossing (GtkWidget *widget,
* Generate crossing event(s) on widget state (sensitivity) or GTK+ grab change.
*
* The real pointer window is the window that most recently received an enter notify
- * event. Windows that don't select for crossing events can't become the real
+ * event. Windows that don’t select for crossing events can’t become the real
* poiner window. The real pointer widget that owns the real pointer window. The
* effective pointer window is the same as the real pointer window unless the real
* pointer widget is either insensitive or there is a grab on a widget that is not
@@ -12195,12 +12195,12 @@ static const GtkWidgetAuxInfo default_aux_info = {
/*
* gtk_widget_get_aux_info:
* @widget: a #GtkWidget
- * @create: if %TRUE, create the #GtkWidgetAuxInfo-struct if it doesn't exist
+ * @create: if %TRUE, create the #GtkWidgetAuxInfo-struct if it doesn’t exist
*
* Get the #GtkWidgetAuxInfo-struct for the widget.
*
* Return value: the #GtkWidgetAuxInfo-struct for the widget, or
- * %NULL if @create is %FALSE and one doesn't already exist.
+ * %NULL if @create is %FALSE and one doesn’t already exist.
*/
static GtkWidgetAuxInfo *
gtk_widget_get_aux_info (GtkWidget *widget,
@@ -14852,7 +14852,7 @@ gtk_widget_get_has_tooltip (GtkWidget *widget)
* is guaranteed that its children stay inside the assigned bounds,
* but not that they have exactly the bounds the container assigned.
* There is no way to get the original allocation assigned by
- * gtk_widget_size_allocate(), since it isn't stored; if a container
+ * gtk_widget_size_allocate(), since it isn’t stored; if a container
* implementation needs that information it will have to track it itself.
*
* Since: 2.18
@@ -15213,7 +15213,7 @@ gtk_widget_update_alpha (GtkWidget *widget)
* always, although setting a window’s opacity after the window has been
* shown causes it to flicker once on Windows.
*
- * For child widgets it doesn't work if any affected widget has a native window, or
+ * For child widgets it doesn’t work if any affected widget has a native window, or
* disables double buffering.
*
* Since: 3.8
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 462ac7f..17d22c6 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -1259,7 +1259,7 @@ gtk_window_class_init (GtkWindowClass *klass)
*
* Note that since maximization is ultimately handled by the window
* manager and happens asynchronously to an application request, you
- * shouldn't assume the return value of this function changing
+ * shouldn’t assume the return value of this function changing
* immediately (or at all), as an effect of calling
* gtk_window_maximize() or gtk_window_unmaximize().
*
@@ -1836,7 +1836,7 @@ gtk_window_buildable_custom_finished (GtkBuildable *buildable,
* [window manager][gtk-X11-arch].
*
* If you simply want an undecorated window (no window borders), use
- * gtk_window_set_decorated(), don't use #GTK_WINDOW_POPUP.
+ * gtk_window_set_decorated(), don’t use #GTK_WINDOW_POPUP.
*
* All top-level windows created by gtk_window_new() are stored in
* an internal top-level window list. This list can be obtained from
@@ -1942,7 +1942,7 @@ gtk_window_get_title (GtkWindow *window)
* @wmclass_name: window name hint
* @wmclass_class: window class hint
*
- * Don't use this function. It sets the X Window System “class” and
+ * Don’t use this function. It sets the X Window System “class” and
* “name” hints for a window. According to the ICCCM, you should
* always set these to the same value for all windows in an
* application, and GTK+ sets them to that value by default, so calling
@@ -1987,7 +1987,7 @@ gtk_window_set_wmclass (GtkWindow *window,
* when the user restarts their session, the window manager can put
* the toolbox back in the same place.
*
- * If a window already has a unique title, you don't need to set the
+ * If a window already has a unique title, you don’t need to set the
* role, since the WM can use the title to identify the window when
* restoring the session.
*
@@ -3162,7 +3162,7 @@ gtk_window_set_skip_taskbar_hint (GtkWindow *window,
*
* Gets the value set by gtk_window_set_skip_taskbar_hint()
*
- * Return value: %TRUE if window shouldn't be in taskbar
+ * Return value: %TRUE if window shouldn’t be in taskbar
*
* Since: 2.2
**/
@@ -3215,7 +3215,7 @@ gtk_window_set_skip_pager_hint (GtkWindow *window,
*
* Gets the value set by gtk_window_set_skip_pager_hint().
*
- * Return value: %TRUE if window shouldn't be in pager
+ * Return value: %TRUE if window shouldn’t be in pager
*
* Since: 2.2
**/
@@ -3386,7 +3386,7 @@ gtk_window_get_focus_on_map (GtkWindow *window)
*
* If @setting is %TRUE, then destroying the transient parent of @window
* will also destroy @window itself. This is useful for dialogs that
- * shouldn't persist beyond the lifetime of the main window they're
+ * shouldn’t persist beyond the lifetime of the main window they're
* associated with, for example.
**/
void
@@ -3440,7 +3440,7 @@ gtk_window_get_destroy_with_parent (GtkWindow *window)
*
* If @setting is %TRUE, then @window will request that it’s titlebar
* should be hidden when maximized.
- * This is useful for windows that don't convey any information other
+ * This is useful for windows that don’t convey any information other
* than the application name in the titlebar, to put the available
* screen space to better use. If the underlying window system does not
* support the request, the setting will not have any effect.
@@ -4151,7 +4151,7 @@ gtk_window_unrealize_icon (GtkWindow *window)
*
* gtk_window_set_icon_list() allows you to pass in the same icon in
* several hand-drawn sizes. The list should contain the natural sizes
- * your icon is available in; that is, don't scale the image before
+ * your icon is available in; that is, don’t scale the image before
* passing it to GTK+. Scaling is postponed until the last minute,
* when the desired final size is known, to allow best quality.
*
@@ -4208,7 +4208,7 @@ gtk_window_set_icon_list (GtkWindow *window,
*
* Retrieves the list of icons set by gtk_window_set_icon_list().
* The list is copied, but the reference count on each
- * member won't be incremented.
+ * member won’t be incremented.
*
* Return value: (element-type GdkPixbuf) (transfer container): copy of window’s icon list
**/
@@ -4238,7 +4238,7 @@ gtk_window_get_icon_list (GtkWindow *window)
* frame, or display it in other contexts.
*
* The icon should be provided in whatever size it was naturally
- * drawn; that is, don't scale the image before passing it to
+ * drawn; that is, don’t scale the image before passing it to
* GTK+. Scaling is postponed until the last minute, when the desired
* final size is known, to allow best quality.
*
@@ -4696,7 +4696,7 @@ gtk_window_set_default_size_internal (GtkWindow *window,
* shown; if a window is hidden and re-shown, it will remember the size
* it had prior to hiding, rather than using the default size.
*
- * Windows can't actually be 0x0 in size, they must be at least 1x1, but
+ * Windows can’t actually be 0x0 in size, they must be at least 1x1, but
* passing 0 for @width and @height is OK, resulting in a 1x1 default size.
**/
void
@@ -4852,7 +4852,7 @@ gtk_window_resize_to_geometry (GtkWindow *window,
* #GdkEventConfigure, that is, GTK+ uses its locally-stored size,
* rather than querying the X server for the size. As a result, if you
* call gtk_window_resize() then immediately call
- * gtk_window_get_size(), the size won't have taken effect yet. After
+ * gtk_window_get_size(), the size won’t have taken effect yet. After
* the window manager processes the resize request, GTK+ receives
* notification that the size has changed via a configure event, and
* the size of the window gets updated.
@@ -5035,7 +5035,7 @@ gtk_window_move (GtkWindow *window,
* This means that the meaning of the returned value varies with
* window gravity. See gtk_window_move() for more details.
*
- * If you haven't changed the window gravity, its gravity will be
+ * If you haven’t changed the window gravity, its gravity will be
* #GDK_GRAVITY_NORTH_WEST. This means that gtk_window_get_position()
* gets the position of the top-left corner of the window manager
* frame for the window. gtk_window_move() sets the position of this
@@ -5055,7 +5055,7 @@ gtk_window_move (GtkWindow *window,
*
* If a window has gravity #GDK_GRAVITY_STATIC the window manager
* frame is not relevant, and thus gtk_window_get_position() will
- * always produce accurate results. However you can't use static
+ * always produce accurate results. However you can’t use static
* gravity to do things like place a window in a corner of the screen,
* because static gravity ignores the window manager decorations.
*
@@ -5786,7 +5786,7 @@ gtk_window_unmap (GtkWidget *widget)
* should hold (in order of importance):
* - the size is not below the minimum size
* Windows cannot be resized below their minimum size, so we must
- * ensure we don't do that either.
+ * ensure we don’t do that either.
* - the size is not above the natural size
* It seems weird to allocate more than this in an initial guess.
* - the size does not exceed that of a maximized window
@@ -10020,12 +10020,12 @@ gtk_window_present_with_time (GtkWindow *window,
* @window: a #GtkWindow
*
* Asks to iconify (i.e. minimize) the specified @window. Note that
- * you shouldn't assume the window is definitely iconified afterward,
+ * you shouldn’t assume the window is definitely iconified afterward,
* because other entities (e.g. the user or
* [window manager][gtk-X11-arch]) could deiconify it
* again, or there may not be a window manager in which case
- * iconification isn't possible, etc. But normally the window will end
- * up iconified. Just don't write code that crashes if not.
+ * iconification isn’t possible, etc. But normally the window will end
+ * up iconified. Just don’t write code that crashes if not.
*
* It’s permitted to call this function before showing a window,
* in which case the window will be iconified before it ever appears
@@ -10060,7 +10060,7 @@ gtk_window_iconify (GtkWindow *window)
* @window: a #GtkWindow
*
* Asks to deiconify (i.e. unminimize) the specified @window. Note
- * that you shouldn't assume the window is definitely deiconified
+ * that you shouldn’t assume the window is definitely deiconified
* afterward, because other entities (e.g. the user or
* [window manager][gtk-X11-arch])) could iconify it
* again before your code which assumes deiconification gets to run.
@@ -10093,7 +10093,7 @@ gtk_window_deiconify (GtkWindow *window)
* @window: a #GtkWindow
*
* Asks to stick @window, which means that it will appear on all user
- * desktops. Note that you shouldn't assume the window is definitely
+ * desktops. Note that you shouldn’t assume the window is definitely
* stuck afterward, because other entities (e.g. the user or
* [window manager][gtk-X11-arch] could unstick it
* again, and some window managers do not support sticking
@@ -10131,11 +10131,11 @@ gtk_window_stick (GtkWindow *window)
* @window: a #GtkWindow
*
* Asks to unstick @window, which means that it will appear on only
- * one of the user’s desktops. Note that you shouldn't assume the
+ * one of the user’s desktops. Note that you shouldn’t assume the
* window is definitely unstuck afterward, because other entities
* (e.g. the user or [window manager][gtk-X11-arch]) could
* stick it again. But normally the window will
- * end up stuck. Just don't write code that crashes if not.
+ * end up stuck. Just don’t write code that crashes if not.
*
* You can track stickiness via the “window-state-event” signal
* on #GtkWidget.
@@ -10166,11 +10166,11 @@ gtk_window_unstick (GtkWindow *window)
* @window: a #GtkWindow
*
* Asks to maximize @window, so that it becomes full-screen. Note that
- * you shouldn't assume the window is definitely maximized afterward,
+ * you shouldn’t assume the window is definitely maximized afterward,
* because other entities (e.g. the user or
* [window manager][gtk-X11-arch]) could unmaximize it
* again, and not all window managers support maximization. But
- * normally the window will end up maximized. Just don't write code
+ * normally the window will end up maximized. Just don’t write code
* that crashes if not.
*
* It’s permitted to call this function before showing a window,
@@ -10206,12 +10206,12 @@ gtk_window_maximize (GtkWindow *window)
* gtk_window_unmaximize:
* @window: a #GtkWindow
*
- * Asks to unmaximize @window. Note that you shouldn't assume the
+ * Asks to unmaximize @window. Note that you shouldn’t assume the
* window is definitely unmaximized afterward, because other entities
* (e.g. the user or [window manager][gtk-X11-arch])
* could maximize it again, and not all window
* managers honor requests to unmaximize. But normally the window will
- * end up unmaximized. Just don't write code that crashes if not.
+ * end up unmaximized. Just don’t write code that crashes if not.
*
* You can track maximization via the “window-state-event” signal
* on #GtkWidget.
@@ -10242,12 +10242,12 @@ gtk_window_unmaximize (GtkWindow *window)
* @window: a #GtkWindow
*
* Asks to place @window in the fullscreen state. Note that you
- * shouldn't assume the window is definitely full screen afterward,
+ * shouldn’t assume the window is definitely full screen afterward,
* because other entities (e.g. the user or
* [window manager][gtk-X11-arch]) could unfullscreen it
* again, and not all window managers honor requests to fullscreen
* windows. But normally the window will end up fullscreen. Just
- * don't write code that crashes if not.
+ * don’t write code that crashes if not.
*
* You can track the fullscreen state via the “window-state-event” signal
* on #GtkWidget.
@@ -10279,12 +10279,12 @@ gtk_window_fullscreen (GtkWindow *window)
* @window: a #GtkWindow
*
* Asks to toggle off the fullscreen state for @window. Note that you
- * shouldn't assume the window is definitely not full screen
+ * shouldn’t assume the window is definitely not full screen
* afterward, because other entities (e.g. the user or
* [window manager][gtk-X11-arch]) could fullscreen it
* again, and not all window managers honor requests to unfullscreen
* windows. But normally the window will end up restored to its normal
- * state. Just don't write code that crashes if not.
+ * state. Just don’t write code that crashes if not.
*
* You can track the fullscreen state via the “window-state-event” signal
* on #GtkWidget.
@@ -10317,11 +10317,11 @@ gtk_window_unfullscreen (GtkWindow *window)
* @setting: whether to keep @window above other windows
*
* Asks to keep @window above, so that it stays on top. Note that
- * you shouldn't assume the window is definitely above afterward,
+ * you shouldn’t assume the window is definitely above afterward,
* because other entities (e.g. the user or
* [window manager][gtk-X11-arch]) could not keep it above,
* and not all window managers support keeping windows above. But
- * normally the window will end kept above. Just don't write code
+ * normally the window will end kept above. Just don’t write code
* that crashes if not.
*
* It’s permitted to call this function before showing a window,
@@ -10368,11 +10368,11 @@ gtk_window_set_keep_above (GtkWindow *window,
* @setting: whether to keep @window below other windows
*
* Asks to keep @window below, so that it stays in bottom. Note that
- * you shouldn't assume the window is definitely below afterward,
+ * you shouldn’t assume the window is definitely below afterward,
* because other entities (e.g. the user or
* [window manager][gtk-X11-arch]) could not keep it below,
* and not all window managers support putting windows below. But
- * normally the window will be kept below. Just don't write code
+ * normally the window will be kept below. Just don’t write code
* that crashes if not.
*
* It’s permitted to call this function before showing a window,
@@ -11220,7 +11220,7 @@ _gtk_window_group_widget_is_blocked_for_device (GtkWindowGroup *window_group,
*/
/* The following code is from Xlib, and is minimally modified, so we
- * can track any upstream changes if required. Don't change this
+ * can track any upstream changes if required. Don’t change this
* code. Or if you do, put in a huge comment marking which thing
* changed.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]