]> Pileus Git - ~andy/gtk/commitdiff
init refcount to 1 (gdk_cursor_new): init refcount to 1
authorHavoc Pennington <hp@pobox.com>
Sun, 13 Feb 2000 20:22:20 +0000 (20:22 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Sun, 13 Feb 2000 20:22:20 +0000 (20:22 +0000)
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

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/win32/gdkcursor-win32.c
gdk/x11/gdkcursor-x11.c

index 5a6ec241e42c0f783edc2f99dc65765b1b8a5683..07bc6cf16b67d1cc338ec3f472df01c1e9bf5347 100644 (file)
--- 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
index 5a6ec241e42c0f783edc2f99dc65765b1b8a5683..07bc6cf16b67d1cc338ec3f472df01c1e9bf5347 100644 (file)
@@ -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
index 5a6ec241e42c0f783edc2f99dc65765b1b8a5683..07bc6cf16b67d1cc338ec3f472df01c1e9bf5347 100644 (file)
@@ -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
index 5a6ec241e42c0f783edc2f99dc65765b1b8a5683..07bc6cf16b67d1cc338ec3f472df01c1e9bf5347 100644 (file)
@@ -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
index 5a6ec241e42c0f783edc2f99dc65765b1b8a5683..07bc6cf16b67d1cc338ec3f472df01c1e9bf5347 100644 (file)
@@ -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
index 5a6ec241e42c0f783edc2f99dc65765b1b8a5683..07bc6cf16b67d1cc338ec3f472df01c1e9bf5347 100644 (file)
@@ -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
index 5a6ec241e42c0f783edc2f99dc65765b1b8a5683..07bc6cf16b67d1cc338ec3f472df01c1e9bf5347 100644 (file)
@@ -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
index 576e646f9e0d722546fa8f54d3eba7ddb65fc4ed..ab0968a9bb6564e3d9491eaa4da3eca2e4f3e6de 100644 (file)
@@ -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;
 }
 
index 85b5ee56a1df0a5f3a0d7941de763394b252402e..d0a580cccdc4d985974bd2cb6625610ce4f69574 100644 (file)
@@ -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;
 }