summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--ChangeLog.pre-2-109
-rw-r--r--ChangeLog.pre-2-89
-rw-r--r--gdk/gdkcolor.c2
-rw-r--r--gdk/gdkcolor.h9
-rw-r--r--gdk/gdkcursor.h9
-rw-r--r--gdk/gdkdraw.c10
-rw-r--r--gdk/gdkimage.h11
-rw-r--r--gdk/x11/gdkcolor-x11.c2
9 files changed, 45 insertions, 25 deletions
diff --git a/ChangeLog b/ChangeLog
index 6985b61ff5..80c9d11d0c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2005-05-08 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/gdkcolor.c (gdk_cairo_set_source_color):
+ * gdk/gdkimage.h:
+ * gdk/gdkdraw.c:
+ * gdk/gdkcolor.h:
+ * gdk/gdkcursor.h:
+ * gdk/x11/gdkcolor-x11.c: Small documentation additions.
+
2005-05-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkscrolledwindow.h:
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 6985b61ff5..80c9d11d0c 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,12 @@
+2005-05-08 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/gdkcolor.c (gdk_cairo_set_source_color):
+ * gdk/gdkimage.h:
+ * gdk/gdkdraw.c:
+ * gdk/gdkcolor.h:
+ * gdk/gdkcursor.h:
+ * gdk/x11/gdkcolor-x11.c: Small documentation additions.
+
2005-05-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkscrolledwindow.h:
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 6985b61ff5..80c9d11d0c 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,12 @@
+2005-05-08 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/gdkcolor.c (gdk_cairo_set_source_color):
+ * gdk/gdkimage.h:
+ * gdk/gdkdraw.c:
+ * gdk/gdkcolor.h:
+ * gdk/gdkcursor.h:
+ * gdk/x11/gdkcolor-x11.c: Small documentation additions.
+
2005-05-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkscrolledwindow.h:
diff --git a/gdk/gdkcolor.c b/gdk/gdkcolor.c
index 8c7b4a3841..27bdf19460 100644
--- a/gdk/gdkcolor.c
+++ b/gdk/gdkcolor.c
@@ -378,6 +378,8 @@ gdk_colormap_get_system (void)
*
* Convenience function to set the specified GdkColor as the
* source color of the given Cairo context.
+ *
+ * Since: 2.8
**/
void
gdk_cairo_set_source_color (cairo_t *cr,
diff --git a/gdk/gdkcolor.h b/gdk/gdkcolor.h
index df4e2ffc8c..bbf7bd83f4 100644
--- a/gdk/gdkcolor.h
+++ b/gdk/gdkcolor.h
@@ -4,9 +4,7 @@
#include <cairo.h>
#include <gdk/gdktypes.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* The color type.
* A color consists of red, green and blue values in the
@@ -39,6 +37,7 @@ typedef struct _GdkColormapClass GdkColormapClass;
struct _GdkColormap
{
+ /*< private >*/
GObject parent_instance;
/*< public >*/
@@ -144,8 +143,6 @@ void gdk_colors_free (GdkColormap *colormap,
gulong planes);
#endif /* !GDK_DISABLE_DEPRECATED || GDK_COMPILATION */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_COLOR_H__ */
diff --git a/gdk/gdkcursor.h b/gdk/gdkcursor.h
index b3e37da260..c91c3d30d0 100644
--- a/gdk/gdkcursor.h
+++ b/gdk/gdkcursor.h
@@ -4,9 +4,7 @@
#include <gdk/gdktypes.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GDK_TYPE_CURSOR (gdk_cursor_get_type ())
@@ -98,6 +96,7 @@ typedef enum
struct _GdkCursor
{
GdkCursorType type;
+ /*< private >*/
guint ref_count;
};
@@ -129,8 +128,6 @@ void gdk_cursor_unref (GdkCursor *cursor);
#define gdk_cursor_destroy gdk_cursor_unref
#endif /* GDK_DISABLE_DEPRECATED */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_CURSOR_H__ */
diff --git a/gdk/gdkdraw.c b/gdk/gdkdraw.c
index 3269668b19..f956a5bedd 100644
--- a/gdk/gdkdraw.c
+++ b/gdk/gdkdraw.c
@@ -1222,8 +1222,8 @@ gdk_drawable_real_get_composite_drawable (GdkDrawable *drawable,
* but no area outside of this region will be affected by drawing
* primitives.
*
- * Return value: a #GdkRegion. This must be freed with gdk_region_destroy()
- * when you are done.
+ * Returns: a #GdkRegion. This must be freed with gdk_region_destroy()
+ * when you are done.
**/
GdkRegion *
gdk_drawable_get_clip_region (GdkDrawable *drawable)
@@ -1235,15 +1235,15 @@ gdk_drawable_get_clip_region (GdkDrawable *drawable)
/**
* gdk_drawable_get_visible_region:
- * @drawable:
+ * @drawable: a #GdkDrawable
*
* Computes the region of a drawable that is potentially visible.
* This does not necessarily take into account if the window is
* obscured by other windows, but no area outside of this region
* is visible.
*
- * Return value: a #GdkRegion. This must be freed with gdk_region_destroy()
- * when you are done.
+ * Returns: a #GdkRegion. This must be freed with gdk_region_destroy()
+ * when you are done.
**/
GdkRegion *
gdk_drawable_get_visible_region (GdkDrawable *drawable)
diff --git a/gdk/gdkimage.h b/gdk/gdkimage.h
index 1b52f85019..dedfc10ed8 100644
--- a/gdk/gdkimage.h
+++ b/gdk/gdkimage.h
@@ -3,9 +3,7 @@
#include <gdk/gdktypes.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* Types of images.
* Normal: Normal X image type. These are slow as they involve passing
@@ -52,7 +50,8 @@ struct _GdkImage
gpointer mem;
GdkColormap *colormap; /* read only. */
-
+
+ /*< private >*/
gpointer windowing_data; /* read only. */
};
@@ -103,8 +102,6 @@ GdkImage* gdk_image_new_bitmap (GdkVisual *visual,
#define gdk_image_destroy gdk_image_unref
#endif /* GDK_DISABLE_DEPRECATED */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_IMAGE_H__ */
diff --git a/gdk/x11/gdkcolor-x11.c b/gdk/x11/gdkcolor-x11.c
index cd264c6de0..9322e9391b 100644
--- a/gdk/x11/gdkcolor-x11.c
+++ b/gdk/x11/gdkcolor-x11.c
@@ -569,7 +569,7 @@ gdk_colormap_change (GdkColormap *colormap,
* For full documentation of the fields, see
* the Xlib documentation for <function>XAllocColorCells()</function>.
*
- * Return value:
+ * Return value: %TRUE if the allocation was successful
**/
gboolean
gdk_colors_alloc (GdkColormap *colormap,