summaryrefslogtreecommitdiff
path: root/libmatekbd/matekbd-keyboard-drawing.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-12-06 22:53:42 +0100
committerWolfgang Ulbrich <[email protected]>2015-12-06 22:53:42 +0100
commit2068b4a0c6cd4b2053952b2ec6f6216b193a354f (patch)
treeb293e38c5848cebf75d1b786799574e16b856080 /libmatekbd/matekbd-keyboard-drawing.c
parentf4e536a58fa07a70576a836248b42f4cab89e1fe (diff)
downloadlibmatekbd-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.c6
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,