*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Fri, 05 Jul 1996 18:20:01 +0200
changeset 928 680dcd56df6b
parent 927 c4bc2a7ff733
child 929 f792d9689def
*** empty log message ***
XWorkstat.st
XWorkstation.st
--- a/XWorkstat.st	Fri Jul 05 18:09:14 1996 +0200
+++ b/XWorkstat.st	Fri Jul 05 18:20:01 1996 +0200
@@ -33,7 +33,6 @@
 
 static int __cnt_color = 0;
 static int __cnt_bitmap = 0;
-static int __cnt_pixmap = 0;
 static int __cnt_view = 0;
 static int __cnt_gc = 0;
 static int __cnt_cursor = 0;
@@ -381,8 +380,8 @@
 debugResources
 %{
 #ifdef COUNT_RESOURCES
-    printf("colors %d bitmaps %d pixmap %d view %d gc %d cursor %d font %d\n",
-	    __cnt_color, __cnt_bitmap, __cnt_pixmap,
+    printf("colors %d bitmaps %d view %d gc %d cursor %d font %d\n",
+	    __cnt_color, __cnt_bitmap,
 	    __cnt_view, __cnt_gc, __cnt_cursor, __cnt_font);
 #endif
 %}
@@ -1160,7 +1159,7 @@
 				       __intVal(w), __intVal(h), __intVal(d));
 #ifdef COUNT_RESOURCES
 	if (newBitmap)
-	    __cnt_pixmap++;
+	    __cnt_bitmap++;
 #endif
 	END_INTERRUPTSBLOCKED
 	RETURN ( (newBitmap != (Pixmap)0) ? __MKOBJ(newBitmap) : nil );
@@ -1554,7 +1553,7 @@
             BEGIN_INTERRUPTSBLOCKED
             XFreePixmap(myDpy, pix);
 #ifdef COUNT_RESOURCES
-            __cnt_pixmap--;
+            __cnt_bitmap--;
 #endif
             END_INTERRUPTSBLOCKED
         }
@@ -8214,6 +8213,6 @@
 !XWorkstation  class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/Attic/XWorkstat.st,v 1.152 1996-07-05 13:18:50 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/Attic/XWorkstat.st,v 1.153 1996-07-05 16:20:01 cg Exp $'
 ! !
 XWorkstation initialize!
--- a/XWorkstation.st	Fri Jul 05 18:09:14 1996 +0200
+++ b/XWorkstation.st	Fri Jul 05 18:20:01 1996 +0200
@@ -33,7 +33,6 @@
 
 static int __cnt_color = 0;
 static int __cnt_bitmap = 0;
-static int __cnt_pixmap = 0;
 static int __cnt_view = 0;
 static int __cnt_gc = 0;
 static int __cnt_cursor = 0;
@@ -381,8 +380,8 @@
 debugResources
 %{
 #ifdef COUNT_RESOURCES
-    printf("colors %d bitmaps %d pixmap %d view %d gc %d cursor %d font %d\n",
-	    __cnt_color, __cnt_bitmap, __cnt_pixmap,
+    printf("colors %d bitmaps %d view %d gc %d cursor %d font %d\n",
+	    __cnt_color, __cnt_bitmap,
 	    __cnt_view, __cnt_gc, __cnt_cursor, __cnt_font);
 #endif
 %}
@@ -1160,7 +1159,7 @@
 				       __intVal(w), __intVal(h), __intVal(d));
 #ifdef COUNT_RESOURCES
 	if (newBitmap)
-	    __cnt_pixmap++;
+	    __cnt_bitmap++;
 #endif
 	END_INTERRUPTSBLOCKED
 	RETURN ( (newBitmap != (Pixmap)0) ? __MKOBJ(newBitmap) : nil );
@@ -1554,7 +1553,7 @@
             BEGIN_INTERRUPTSBLOCKED
             XFreePixmap(myDpy, pix);
 #ifdef COUNT_RESOURCES
-            __cnt_pixmap--;
+            __cnt_bitmap--;
 #endif
             END_INTERRUPTSBLOCKED
         }
@@ -8214,6 +8213,6 @@
 !XWorkstation  class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.152 1996-07-05 13:18:50 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.153 1996-07-05 16:20:01 cg Exp $'
 ! !
 XWorkstation initialize!