summaryrefslogtreecommitdiff
path: root/libgnomekbd/gkbd-keyboard-drawing.c
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-05-09 10:56:40 +0200
committerSergey V. Udaltsov <svu@gnome.org>2012-05-12 11:08:54 +0100
commit54c7e9530251d912266587ed192892e37e37c262 (patch)
treef670cb3e68c395a7a125a2ba38674625344a9106 /libgnomekbd/gkbd-keyboard-drawing.c
parenteef866a6d3843a5e2df72dcf7631e17b875fd66a (diff)
downloadlibgnomekbd-54c7e9530251d912266587ed192892e37e37c262.tar.gz
Fix gobject-introspection comments
* Cleans up a bunch of warnings, and gets g-ir-scanner to actually recognize the annotations. https://bugzilla.gnome.org/show_bug.cgi?id=675729
Diffstat (limited to 'libgnomekbd/gkbd-keyboard-drawing.c')
-rw-r--r--libgnomekbd/gkbd-keyboard-drawing.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/libgnomekbd/gkbd-keyboard-drawing.c b/libgnomekbd/gkbd-keyboard-drawing.c
index e8ad533..899df18 100644
--- a/libgnomekbd/gkbd-keyboard-drawing.c
+++ b/libgnomekbd/gkbd-keyboard-drawing.c
@@ -1063,8 +1063,8 @@ draw_key_label (GkbdKeyboardDrawingRenderContext * 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_shape_origin_offset_x (XkbOutlineRec * outline)
@@ -2252,7 +2252,7 @@ gkbd_keyboard_drawing_set_mods (GkbdKeyboardDrawing * 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
gkbd_keyboard_drawing_render (GkbdKeyboardDrawing * kbdrawing,
@@ -2291,6 +2291,9 @@ gkbd_keyboard_drawing_render (GkbdKeyboardDrawing * kbdrawing,
return TRUE;
}
+/**
+ * gkbd_keyboard_drawing_set_keyboard: (skip)
+ */
gboolean
gkbd_keyboard_drawing_set_keyboard (GkbdKeyboardDrawing * drawing,
XkbComponentNamesRec * names)