diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-12-06 22:53:42 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-06 22:53:42 +0100 |
commit | 2068b4a0c6cd4b2053952b2ec6f6216b193a354f (patch) | |
tree | b293e38c5848cebf75d1b786799574e16b856080 /libmatekbd/matekbd-keyboard-drawing.c | |
parent | f4e536a58fa07a70576a836248b42f4cab89e1fe (diff) | |
download | libmatekbd-2068b4a0c6cd4b2053952b2ec6f6216b193a354f.tar.bz2 libmatekbd-2068b4a0c6cd4b2053952b2ec6f6216b193a354f.tar.xz |
reduce introspection build warnings
* Cleans up a bunch of warnings, and gets g-ir-scanner
to actually recognize the annotations.
taken from:
https://git.gnome.org/browse/libgnomekbd/commit/?id=54c7e95
Diffstat (limited to 'libmatekbd/matekbd-keyboard-drawing.c')
-rw-r--r-- | libmatekbd/matekbd-keyboard-drawing.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmatekbd/matekbd-keyboard-drawing.c b/libmatekbd/matekbd-keyboard-drawing.c index bd1a35e..f284428 100644 --- a/libmatekbd/matekbd-keyboard-drawing.c +++ b/libmatekbd/matekbd-keyboard-drawing.c @@ -1002,8 +1002,8 @@ draw_key_label (MatekbdKeyboardDrawingRenderContext * context, } } -/** - The x offset is calculated for complex shapes. It is the rightmost of the vertical lines in the outline +/* + * The x offset is calculated for complex shapes. It is the rightmost of the vertical lines in the outline */ static gint calc_origin_offset_x (XkbOutlineRec * outline) @@ -2225,7 +2225,7 @@ matekbd_keyboard_drawing_set_mods (MatekbdKeyboardDrawing * drawing, guint mods) * from e.g. a GtkWidget or a GtkPrintContext. @cr and @layout may be modified * by the function but will not be unreffed. * - * @returns: %TRUE on success, %FALSE on failure + * Returns: %TRUE on success, %FALSE on failure */ gboolean matekbd_keyboard_drawing_render (MatekbdKeyboardDrawing * kbdrawing, |