gtk+-0.99.4: C++-style comments in gtk/gtkclist.c



Building gtk+-0.99.4 with cc on irix 6.3 it complained about some uses
of //.

I append the obvious patch.

/assar

===================================================================
RCS file: gtk/gtkclist.c,v
retrieving revision 1.1
diff -cu -r1.1 gtkclist.c
--- gtkclist.c	1998/03/08 04:49:36	1.1
+++ gtkclist.c	1998/03/08 04:49:49
@@ -1023,7 +1023,7 @@
   if (pixmap)
   {
     *pixmap = GTK_CELL_PIXMAP (clist_row->cell[column])->pixmap;
-    // mask can be NULL
+    /* mask can be NULL */
     *mask = GTK_CELL_PIXMAP (clist_row->cell[column])->mask;
   }
 
@@ -1092,7 +1092,7 @@
   if (pixmap)
     *pixmap = GTK_CELL_PIXTEXT (clist_row->cell[column])->pixmap;
 
-  // mask can be NULL
+  /* mask can be NULL */
   *mask = GTK_CELL_PIXTEXT (clist_row->cell[column])->mask;
 
   return 1;
@@ -3558,7 +3558,7 @@
     {
       clist_row->cell[column].type = GTK_CELL_PIXMAP;
       GTK_CELL_PIXMAP (clist_row->cell[column])->pixmap = pixmap;
-      // We set the mask even if it is NULL
+      /* We set the mask even if it is NULL */
       GTK_CELL_PIXMAP (clist_row->cell[column])->mask = mask;
     }
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]