[gtk+] More documentation additions
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] More documentation additions
- Date: Tue, 26 Dec 2017 19:41:20 +0000 (UTC)
commit bb992ff00df0aa437b8fbfba30b0b8d8b1563714
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Dec 26 11:34:18 2017 -0500
More documentation additions
gdk/gdkapplaunchcontext.c | 6 ++++++
gdk/gdktypes.h | 29 +++++++++++++++--------------
2 files changed, 21 insertions(+), 14 deletions(-)
---
diff --git a/gdk/gdkapplaunchcontext.c b/gdk/gdkapplaunchcontext.c
index 44d0d52..68acd7f 100644
--- a/gdk/gdkapplaunchcontext.c
+++ b/gdk/gdkapplaunchcontext.c
@@ -52,6 +52,12 @@
* ]|
*/
+/**
+ * GdkAppLaunchContext:
+ *
+ * The GdkAppLaunchContext struct contains only private fields
+ * and should not be accessed directly.
+ */
static void gdk_app_launch_context_finalize (GObject *object);
static gchar * gdk_app_launch_context_get_display (GAppLaunchContext *context,
diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h
index d77094a..4351302 100644
--- a/gdk/gdktypes.h
+++ b/gdk/gdktypes.h
@@ -66,12 +66,26 @@
G_BEGIN_DECLS
-/* Type definitions for the basic structures.
+/**
+ * GdkPoint:
+ * @x: the x coordinate of the point
+ * @y: the y coordinate of the point
+ *
+ * Defines the x and y coordinates of a point.
*/
+struct _GdkPoint
+{
+ gint x;
+ gint y;
+};
typedef struct _GdkPoint GdkPoint;
/**
* GdkRectangle:
+ * @x: the x coordinate of the top left corner
+ * @y: the y coordinate of the top left corner
+ * @width: the width of the rectangle
+ * @height: the height of the rectangle
*
* Defines the position and size of a rectangle. It is identical to
* #cairo_rectangle_int_t.
@@ -420,19 +434,6 @@ typedef enum
} GdkEventMask;
/**
- * GdkPoint:
- * @x: the x coordinate of the point.
- * @y: the y coordinate of the point.
- *
- * Defines the x and y coordinates of a point.
- */
-struct _GdkPoint
-{
- gint x;
- gint y;
-};
-
-/**
* GdkGLError:
* @GDK_GL_ERROR_NOT_AVAILABLE: OpenGL support is not available
* @GDK_GL_ERROR_UNSUPPORTED_FORMAT: The requested visual format is not supported
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]