summaryrefslogtreecommitdiff
path: root/gdk/gdkprivate.h
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>1998-01-30 23:47:09 +0000
committerTim Janik <timj@src.gnome.org>1998-01-30 23:47:09 +0000
commit4af33fa24df69f335f07f43e5904a766c8d8ec97 (patch)
treeccc23ba16332f44ae45418f6cf9580036c4c76da /gdk/gdkprivate.h
parentee7038f9fddd0213c65474e5d59609107caed7c6 (diff)
downloadgdk-pixbuf-4af33fa24df69f335f07f43e5904a766c8d8ec97.tar.gz
hm, initital refcount revolution commit ;)
still some gnits left, but keep working on it ;) -timj
Diffstat (limited to 'gdk/gdkprivate.h')
-rw-r--r--gdk/gdkprivate.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdk/gdkprivate.h b/gdk/gdkprivate.h
index 03b02f81c..55e150563 100644
--- a/gdk/gdkprivate.h
+++ b/gdk/gdkprivate.h
@@ -58,8 +58,8 @@ struct _GdkWindowPrivate
guint16 width;
guint16 height;
guint8 resize_count;
- guint8 ref_count;
guint8 window_type;
+ guint ref_count;
guint destroyed : 2;
guint dnd_drag_enabled : 1,
dnd_drag_datashow : 1,
@@ -104,6 +104,7 @@ struct _GdkGCPrivate
GdkGC gc;
GC xgc;
Display *xdisplay;
+ guint ref_count;
};
struct _GdkColormapPrivate
@@ -114,7 +115,7 @@ struct _GdkColormapPrivate
GdkVisual *visual;
gint private_val;
gint next_color;
- gint ref_count;
+ guint ref_count;
};
struct _GdkVisualPrivate
@@ -130,7 +131,7 @@ struct _GdkFontPrivate
/* generic pointer point to XFontStruct or XFontSet */
gpointer xfont;
Display *xdisplay;
- gint ref_count;
+ guint ref_count;
};
struct _GdkCursorPrivate