diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-02-07 14:03:49 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-02-07 14:22:39 -0500 |
commit | 13998c55e757c28c7a80b5ad47f82ef62ee57bf6 (patch) | |
tree | 8e810968edf5b3a7831a26edfe20980e0649f8c7 /gdk | |
parent | 4dee965116da4b45ec51411ed27928f6fc0845ba (diff) | |
download | gtk+-13998c55e757c28c7a80b5ad47f82ef62ee57bf6.tar.gz |
docs: use proper quotations instead of '*'
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdk.c | 2 | ||||
-rw-r--r-- | gdk/gdkcolor.c | 10 | ||||
-rw-r--r-- | gdk/gdkcursor.c | 8 | ||||
-rw-r--r-- | gdk/gdkevents.h | 2 | ||||
-rw-r--r-- | gdk/gdkrgba.c | 14 | ||||
-rw-r--r-- | gdk/gdkscreen.c | 2 | ||||
-rw-r--r-- | gdk/keyname-table.h | 6 | ||||
-rw-r--r-- | gdk/quartz/gdkeventloop-quartz.c | 2 |
8 files changed, 23 insertions, 23 deletions
@@ -944,7 +944,7 @@ gdk_threads_add_idle (GSourceFunc function, * event sources. Thus they should not be relied on for precise timing. * After each call to the timeout function, the time of the next * timeout is recalculated based on the current time and the given interval - * (it does not try to 'catch up' time lost in delays). + * (it does not try to “catch up” time lost in delays). * * This variant of g_timeout_add_full() can be thought of a MT-safe version * for GTK+ widgets for the following use case: diff --git a/gdk/gdkcolor.c b/gdk/gdkcolor.c index a71af0da09..e93c82a840 100644 --- a/gdk/gdkcolor.c +++ b/gdk/gdkcolor.c @@ -132,12 +132,12 @@ G_DEFINE_BOXED_TYPE (GdkColor, gdk_color, * * The string can either one of a large set of standard names * (taken from the X11 `rgb.txt` file), or - * it can be a hex value in the form '#rgb' '#rrggbb' - * '#rrrgggbbb' or '#rrrrggggbbbb' where 'r', 'g' and - * 'b' are hex digits of the red, green, and blue components + * it can be a hex value in the form “#rgb” “#rrggbb” + * “#rrrgggbbb” or “#rrrrggggbbbb” where “r”, “g” and + * “b” are hex digits of the red, green, and blue components * of the color, respectively. (White in the four forms is - * '#fff', '#ffffff', '#fffffffff' and - * '#ffffffffffff'). + * “#fff”, “#ffffff”, “#fffffffff” and + * “#ffffffffffff”). * * Return value: %TRUE if the parsing succeeded */ diff --git a/gdk/gdkcursor.c b/gdk/gdkcursor.c index 1d3f4c3936..2157bcf2db 100644 --- a/gdk/gdkcursor.c +++ b/gdk/gdkcursor.c @@ -282,8 +282,8 @@ gdk_cursor_new_from_name (GdkDisplay *display, * gdk_cursor_new_from_pixbuf: * @display: the #GdkDisplay for which the cursor will be created * @pixbuf: the #GdkPixbuf containing the cursor image - * @x: the horizontal offset of the 'hotspot' of the cursor. - * @y: the vertical offset of the 'hotspot' of the cursor. + * @x: the horizontal offset of the “hotspot” of the cursor. + * @y: the vertical offset of the “hotspot” of the cursor. * * Creates a new cursor from a pixbuf. * @@ -353,8 +353,8 @@ gdk_cursor_new_from_pixbuf (GdkDisplay *display, * gdk_cursor_new_from_surface: * @display: the #GdkDisplay for which the cursor will be created * @surface: the cairo image surface containing the cursor pixel data - * @x: the horizontal offset of the 'hotspot' of the cursor - * @y: the vertical offset of the 'hotspot' of the cursor + * @x: the horizontal offset of the “hotspot” of the cursor + * @y: the vertical offset of the “hotspot” of the cursor * * Creates a new cursor from a cairo image surface. * diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h index 3dd67e7f60..896e18b272 100644 --- a/gdk/gdkevents.h +++ b/gdk/gdkevents.h @@ -755,7 +755,7 @@ struct _GdkEventTouch * usually configured to generate button press events for buttons 4 and 5 * when the wheel is turned. * - * Some GDK backends can also generate 'smooth' scroll events, which + * Some GDK backends can also generate “smooth” scroll events, which * can be recognized by the %GDK_SCROLL_SMOOTH scroll direction. For * these, the scroll deltas can be obtained with * gdk_event_get_scroll_deltas(). diff --git a/gdk/gdkrgba.c b/gdk/gdkrgba.c index 88fcdf81ce..d48472e189 100644 --- a/gdk/gdkrgba.c +++ b/gdk/gdkrgba.c @@ -99,7 +99,7 @@ gdk_rgba_free (GdkRGBA *rgba) * - For non-percentage values, we accept floats in the range 0-255 * not just [0-9]+ integers * - For percentage values we accept any float, not just - * [ 0-9]+ | [0-9]* '.' [0-9]+ + * [ 0-9]+ | [0-9]* “.” [0-9]+ * - We accept mixed percentages and non-percentages in a single * rgb() or rgba() specification. */ @@ -142,13 +142,13 @@ parse_rgb_value (const gchar *str, * * The string can be either one of: * - A standard name (Taken from the X11 rgb.txt file). - * - A hex value in the form '#rgb' '#rrggbb' '#rrrgggbbb' - * or '#rrrrggggbbbb' - * - A RGB color in the form 'rgb(r,g,b)' (In this case the color will + * - A hex value in the form “#rgb” “#rrggbb” “#rrrgggbbb” + * or “#rrrrggggbbbb” + * - A RGB color in the form “rgb(r,g,b)” (In this case the color will * have full opacity) - * - A RGBA color in the form 'rgba(r,g,b,a)' + * - A RGBA color in the form “rgba(r,g,b,a)” * - * Where 'r', 'g', 'b' and 'a' are respectively the red, green, blue and + * Where “r”, “g”, “b” and “a” are respectively the red, green, blue and * alpha color values. In the last two cases, r g and b are either integers * in the range 0 to 255 or precentage values in the range 0% to 100%, and * a is a floating point value in the range 0 to 1. @@ -332,7 +332,7 @@ gdk_rgba_equal (gconstpointer p1, * Returns a textual specification of @rgba in the form * `rgb (r, g, b)` or * `rgba (r, g, b, a)`, - * where 'r', 'g', 'b' and 'a' represent the red, green, + * where “r”, “g”, “b” and “a” represent the red, green, * blue and alpha values respectively. r, g, and b are * represented as integers in the range 0 to 255, and a * is represented as floating point value in the range 0 to 1. diff --git a/gdk/gdkscreen.c b/gdk/gdkscreen.c index cafa95af55..2e25af7def 100644 --- a/gdk/gdkscreen.c +++ b/gdk/gdkscreen.c @@ -687,7 +687,7 @@ gdk_screen_get_n_monitors (GdkScreen *screen) * @screen: a #GdkScreen. * * Gets the primary monitor for @screen. The primary monitor - * is considered the monitor where the 'main desktop' lives. + * is considered the monitor where the “main desktop” lives. * While normal application windows typically allow the window * manager to place the windows, specialized desktop applications * such as panels should place themselves on the primary monitor. diff --git a/gdk/keyname-table.h b/gdk/keyname-table.h index 0df549844f..5d13322637 100644 --- a/gdk/keyname-table.h +++ b/gdk/keyname-table.h @@ -6830,11 +6830,11 @@ static const gdk_key gdk_keys_by_name[] = { #if 0 /* - * Translators, the strings in the 'keyboard label' context are + * Translators, the strings in the “keyboard label” context are * display names for keyboard keys. Some of them have prefixes like * XF86 or ISO_ - these should be removed in the translation. Similarly, - * underscores should be replaced by spaces. The prefix 'KP_' stands - * for 'key pad' and you may want to include that in your translation. + * underscores should be replaced by spaces. The prefix “KP_” stands + * for “key pad” and you may want to include that in your translation. * Here are some examples of English translations: * XF86AudioMute - Audio mute * Scroll_lock - Scroll lock diff --git a/gdk/quartz/gdkeventloop-quartz.c b/gdk/quartz/gdkeventloop-quartz.c index ed07e55879..7ef4f2a46a 100644 --- a/gdk/quartz/gdkeventloop-quartz.c +++ b/gdk/quartz/gdkeventloop-quartz.c @@ -88,7 +88,7 @@ static guint run_loop_n_pollfds; /* Number of file descriptors in the array * * we need to make sure that the poll function is always called even * when there are no file descriptors that need to be polled. To do * this, we add a dummy GPollFD to our event source with a file - * descriptor of '-1'. Then any time that GLib is polling the event + * descriptor of “-1”. Then any time that GLib is polling the event * source, it will call our poll function. */ static GPollFD event_poll_fd; |