summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2000-02-13 20:22:20 +0000
committerHavoc Pennington <hp@src.gnome.org>2000-02-13 20:22:20 +0000
commit95a9052d561b824e6071c6e8ee24fb1fe07b7b8a (patch)
tree760f79418d30016b053c184c4044a2371b087e45
parentff99eb7cc171d99685c7a7a275383e0fa338d40d (diff)
downloadgdk-pixbuf-95a9052d561b824e6071c6e8ee24fb1fe07b7b8a.tar.gz
init refcount to 1 (gdk_cursor_new): init refcount to 1
2000-02-13 Havoc Pennington <hp@pobox.com> * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init refcount to 1 (gdk_cursor_new): init refcount to 1 * gdk/win32/gdkcursor-win32.c (gdk_cursor_new): init refcount to 1
-rw-r--r--ChangeLog8
-rw-r--r--ChangeLog.pre-2-08
-rw-r--r--ChangeLog.pre-2-108
-rw-r--r--ChangeLog.pre-2-28
-rw-r--r--ChangeLog.pre-2-48
-rw-r--r--ChangeLog.pre-2-68
-rw-r--r--ChangeLog.pre-2-88
-rw-r--r--gdk/win32/gdkcursor-win32.c3
-rw-r--r--gdk/x11/gdkcursor-x11.c6
9 files changed, 62 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5a6ec241e..07bc6cf16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-02-13 Havoc Pennington <hp@pobox.com>
+
+ * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init
+ refcount to 1
+ (gdk_cursor_new): init refcount to 1
+
+ * gdk/win32/gdkcursor-win32.c (gdk_cursor_new): init refcount to 1
+
2000-02-13 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 5a6ec241e..07bc6cf16 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,11 @@
+2000-02-13 Havoc Pennington <hp@pobox.com>
+
+ * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init
+ refcount to 1
+ (gdk_cursor_new): init refcount to 1
+
+ * gdk/win32/gdkcursor-win32.c (gdk_cursor_new): init refcount to 1
+
2000-02-13 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 5a6ec241e..07bc6cf16 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,11 @@
+2000-02-13 Havoc Pennington <hp@pobox.com>
+
+ * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init
+ refcount to 1
+ (gdk_cursor_new): init refcount to 1
+
+ * gdk/win32/gdkcursor-win32.c (gdk_cursor_new): init refcount to 1
+
2000-02-13 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 5a6ec241e..07bc6cf16 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,11 @@
+2000-02-13 Havoc Pennington <hp@pobox.com>
+
+ * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init
+ refcount to 1
+ (gdk_cursor_new): init refcount to 1
+
+ * gdk/win32/gdkcursor-win32.c (gdk_cursor_new): init refcount to 1
+
2000-02-13 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 5a6ec241e..07bc6cf16 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,11 @@
+2000-02-13 Havoc Pennington <hp@pobox.com>
+
+ * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init
+ refcount to 1
+ (gdk_cursor_new): init refcount to 1
+
+ * gdk/win32/gdkcursor-win32.c (gdk_cursor_new): init refcount to 1
+
2000-02-13 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 5a6ec241e..07bc6cf16 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,11 @@
+2000-02-13 Havoc Pennington <hp@pobox.com>
+
+ * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init
+ refcount to 1
+ (gdk_cursor_new): init refcount to 1
+
+ * gdk/win32/gdkcursor-win32.c (gdk_cursor_new): init refcount to 1
+
2000-02-13 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 5a6ec241e..07bc6cf16 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,11 @@
+2000-02-13 Havoc Pennington <hp@pobox.com>
+
+ * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init
+ refcount to 1
+ (gdk_cursor_new): init refcount to 1
+
+ * gdk/win32/gdkcursor-win32.c (gdk_cursor_new): init refcount to 1
+
2000-02-13 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
diff --git a/gdk/win32/gdkcursor-win32.c b/gdk/win32/gdkcursor-win32.c
index 576e646f9..ab0968a9b 100644
--- a/gdk/win32/gdkcursor-win32.c
+++ b/gdk/win32/gdkcursor-win32.c
@@ -251,7 +251,8 @@ gdk_cursor_new_from_pixmap (GdkPixmap *source,
private->xcursor = xcursor;
cursor = (GdkCursor*) private;
cursor->type = GDK_CURSOR_IS_PIXMAP;
-
+ cursor->ref_count = 1;
+
return cursor;
}
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c
index 85b5ee56a..d0a580ccc 100644
--- a/gdk/x11/gdkcursor-x11.c
+++ b/gdk/x11/gdkcursor-x11.c
@@ -43,7 +43,8 @@ gdk_cursor_new (GdkCursorType cursor_type)
private->xcursor = xcursor;
cursor = (GdkCursor*) private;
cursor->type = cursor_type;
-
+ cursor->ref_count = 1;
+
return cursor;
}
@@ -83,7 +84,8 @@ gdk_cursor_new_from_pixmap (GdkPixmap *source,
private->xcursor = xcursor;
cursor = (GdkCursor *) private;
cursor->type = GDK_CURSOR_IS_PIXMAP;
-
+ cursor->ref_count = 1;
+
return cursor;
}