[gtk+] Doc format fixes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Doc format fixes
- Date: Fri, 16 Dec 2011 04:10:41 +0000 (UTC)
commit 89c8c1f8a8f74e9c9c10a7f9a736a642e0f658fd
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Dec 15 23:08:07 2011 -0500
Doc format fixes
gdk/x11/gdkdisplay-x11.c | 3 ++-
gdk/x11/gdkscreen-x11.c | 12 +++++++-----
2 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index ecf9f09..02a7968 100644
--- a/gdk/x11/gdkdisplay-x11.c
+++ b/gdk/x11/gdkdisplay-x11.c
@@ -1868,10 +1868,11 @@ _gdk_x11_display_screen_for_xrootwin (GdkDisplay *display,
/**
* gdk_x11_display_get_xdisplay:
* @display: (type GdkX11Display): a #GdkDisplay
- * @returns: (transfer none): an X display.
*
* Returns the X display of a #GdkDisplay.
*
+ * Returns: (transfer none): an X display
+ *
* Since: 2.2
*/
Display *
diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c
index 97e363a..fc3adad 100644
--- a/gdk/x11/gdkscreen-x11.c
+++ b/gdk/x11/gdkscreen-x11.c
@@ -319,11 +319,12 @@ gdk_x11_screen_get_rgba_visual (GdkScreen *screen)
/**
* gdk_x11_screen_get_xscreen:
- * @screen: (type GdkX11Screen): a #GdkScreen.
- * @returns: (transfer none): an Xlib <type>Screen*</type>
+ * @screen: (type GdkX11Screen): a #GdkScreen
*
* Returns the screen of a #GdkScreen.
*
+ * Returns: (transfer none): an Xlib <type>Screen*</type>
+ *
* Since: 2.2
*/
Screen *
@@ -334,12 +335,13 @@ gdk_x11_screen_get_xscreen (GdkScreen *screen)
/**
* gdk_x11_screen_get_screen_number:
- * @screen: (type GdkX11Screen): a #GdkScreen.
- * @returns: the position of @screen among the screens of
- * its display.
+ * @screen: (type GdkX11Screen): a #GdkScreen
*
* Returns the index of a #GdkScreen.
*
+ * Returns: the position of @screen among the screens
+ * of its display
+ *
* Since: 2.2
*/
int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]