Commit e13fcd8b authored by Daniel Egger's avatar Daniel Egger
Browse files

Turned C++ style comments into C style ones.



 Turned C++ style comments into C style ones.
parent bc4f613d
Wed Sep 27 00:46:31 CEST 2000 Daniel Egger <egger@suse.de>
* app/channel_ops.c:
* app/convert.c:
* app/tile_manager.c:
* plug-ins/Lighting/lighting_ui.c:
* plug-ins/common/jpeg.c:
* plug-ins/common/winclipboard.c:
* plug-ins/sel2path/spline.c:
* plug-ins/twain/tw_func.h:
* plug-ins/twain/tw_util.h:
* plug-ins/twain/twain.h:
* plug-ins/winsnap/winsnap.c: Turned C++ style comments into
C ones.
Mon Sep 25 17:04:39 PDT 2000 Manish Singh <yosh@gimp.org>
 
* plug-ins/print/print-canon.c: portability fix for varargs usage
......
......@@ -255,7 +255,7 @@ tile_manager_validate (TileManager *tm,
/* DEBUG STUFF -> if (tm->user_data)
{
// fprintf(stderr,"V%p ",tm->user_data);
fprintf(stderr,"V%p ",tm->user_data);
fprintf(stderr,"V");
}
else
......
......@@ -776,9 +776,9 @@ duplicate_projection (GimpImage *oldgimage, GimpImage *newgimage,
gimage_invalidate_without_render (gdisp->gimage, 0,0,
gdisp->gimage->width,
gdisp->gimage->height,
// 64,64,128,128);
// newgdisplay->disp_width,newgdisplay->disp_height,
// newgdisplay->disp_width+newgdisplay->disp_xoffset,newgdisplay->disp_height+newgdisplay->disp_yoffset
64,64,128,128);
/* newgdisplay->disp_width,newgdisplay->disp_height,
newgdisplay->disp_width+newgdisplay->disp_xoffset,newgdisplay->disp_height+newgdisplay->disp_yoffset */
x1, y1, x2, y2
);
......
......@@ -2168,9 +2168,9 @@ update_box_rgb (Histogram histogram,
finished_axesscan:
/*
// boxp->Rhalferror = (Rmin+Rmax)/2;
// boxp->Ghalferror = (Gmin+Gmax)/2;
// boxp->Bhalferror = (Bmin+Bmax)/2;
boxp->Rhalferror = (Rmin+Rmax)/2;
boxp->Ghalferror = (Gmin+Gmax)/2;
boxp->Bhalferror = (Bmin+Bmax)/2;
*/
/*boxp->error = (sqrt((double)(boxp->error/ccount)));*/
......
......@@ -776,9 +776,9 @@ duplicate_projection (GimpImage *oldgimage, GimpImage *newgimage,
gimage_invalidate_without_render (gdisp->gimage, 0,0,
gdisp->gimage->width,
gdisp->gimage->height,
// 64,64,128,128);
// newgdisplay->disp_width,newgdisplay->disp_height,
// newgdisplay->disp_width+newgdisplay->disp_xoffset,newgdisplay->disp_height+newgdisplay->disp_yoffset
64,64,128,128);
/* newgdisplay->disp_width,newgdisplay->disp_height,
newgdisplay->disp_width+newgdisplay->disp_xoffset,newgdisplay->disp_height+newgdisplay->disp_yoffset */
x1, y1, x2, y2
);
......
......@@ -2168,9 +2168,9 @@ update_box_rgb (Histogram histogram,
finished_axesscan:
/*
// boxp->Rhalferror = (Rmin+Rmax)/2;
// boxp->Ghalferror = (Gmin+Gmax)/2;
// boxp->Bhalferror = (Bmin+Bmax)/2;
boxp->Rhalferror = (Rmin+Rmax)/2;
boxp->Ghalferror = (Gmin+Gmax)/2;
boxp->Bhalferror = (Bmin+Bmax)/2;
*/
/*boxp->error = (sqrt((double)(boxp->error/ccount)));*/
......
......@@ -776,9 +776,9 @@ duplicate_projection (GimpImage *oldgimage, GimpImage *newgimage,
gimage_invalidate_without_render (gdisp->gimage, 0,0,
gdisp->gimage->width,
gdisp->gimage->height,
// 64,64,128,128);
// newgdisplay->disp_width,newgdisplay->disp_height,
// newgdisplay->disp_width+newgdisplay->disp_xoffset,newgdisplay->disp_height+newgdisplay->disp_yoffset
64,64,128,128);
/* newgdisplay->disp_width,newgdisplay->disp_height,
newgdisplay->disp_width+newgdisplay->disp_xoffset,newgdisplay->disp_height+newgdisplay->disp_yoffset */
x1, y1, x2, y2
);
......
......@@ -776,9 +776,9 @@ duplicate_projection (GimpImage *oldgimage, GimpImage *newgimage,
gimage_invalidate_without_render (gdisp->gimage, 0,0,
gdisp->gimage->width,
gdisp->gimage->height,
// 64,64,128,128);
// newgdisplay->disp_width,newgdisplay->disp_height,
// newgdisplay->disp_width+newgdisplay->disp_xoffset,newgdisplay->disp_height+newgdisplay->disp_yoffset
64,64,128,128);
/* newgdisplay->disp_width,newgdisplay->disp_height,
newgdisplay->disp_width+newgdisplay->disp_xoffset,newgdisplay->disp_height+newgdisplay->disp_yoffset */
x1, y1, x2, y2
);
......
......@@ -2168,9 +2168,9 @@ update_box_rgb (Histogram histogram,
finished_axesscan:
/*
// boxp->Rhalferror = (Rmin+Rmax)/2;
// boxp->Ghalferror = (Gmin+Gmax)/2;
// boxp->Bhalferror = (Bmin+Bmax)/2;
boxp->Rhalferror = (Rmin+Rmax)/2;
boxp->Ghalferror = (Gmin+Gmax)/2;
boxp->Bhalferror = (Bmin+Bmax)/2;
*/
/*boxp->error = (sqrt((double)(boxp->error/ccount)));*/
......
......@@ -776,9 +776,9 @@ duplicate_projection (GimpImage *oldgimage, GimpImage *newgimage,
gimage_invalidate_without_render (gdisp->gimage, 0,0,
gdisp->gimage->width,
gdisp->gimage->height,
// 64,64,128,128);
// newgdisplay->disp_width,newgdisplay->disp_height,
// newgdisplay->disp_width+newgdisplay->disp_xoffset,newgdisplay->disp_height+newgdisplay->disp_yoffset
64,64,128,128);
/* newgdisplay->disp_width,newgdisplay->disp_height,
newgdisplay->disp_width+newgdisplay->disp_xoffset,newgdisplay->disp_height+newgdisplay->disp_yoffset */
x1, y1, x2, y2
);
......
......@@ -255,7 +255,7 @@ tile_manager_validate (TileManager *tm,
/* DEBUG STUFF -> if (tm->user_data)
{
// fprintf(stderr,"V%p ",tm->user_data);
fprintf(stderr,"V%p ",tm->user_data);
fprintf(stderr,"V");
}
else
......
......@@ -384,7 +384,7 @@ create_options_page (void)
GtkWidget *vbox;
GtkWidget *toggle;
GtkWidget *table;
// GtkWidget *spinbutton;
/*GtkWidget *spinbutton;*/
GtkObject *adj;
page = gtk_vbox_new (FALSE, 4);
......
......@@ -1833,7 +1833,7 @@ save_dialog (void)
text = gtk_text_new (NULL, NULL);
gtk_text_set_editable (GTK_TEXT (text), TRUE);
gtk_widget_set_usize (text, -1, 3); /* //HB: restrict to 3 line height
gtk_widget_set_usize (text, -1, 3); /* HB: restrict to 3 line height
* to allow 800x600 mode */
if (image_comment)
gtk_text_insert (GTK_TEXT (text), NULL, NULL, NULL, image_comment, -1);
......
......@@ -363,7 +363,7 @@ CB_CopyImage (gboolean interactive,
pData[x*3+y*nSizeLine] = pLine[x*drawable->bpp+2]; /* blue */
pData[x*3+y*nSizeLine+1] = pLine[x*drawable->bpp+1]; /* green */
pData[x*3+y*nSizeLine+2] = pLine[x*drawable->bpp]; /* red */
//pData[x+y*drawable->width*3+3] = 0; /* reserved */
/*pData[x+y*drawable->width*3+3] = 0;*/ /* reserved */
}
}
}
......
......@@ -1833,7 +1833,7 @@ save_dialog (void)
text = gtk_text_new (NULL, NULL);
gtk_text_set_editable (GTK_TEXT (text), TRUE);
gtk_widget_set_usize (text, -1, 3); /* //HB: restrict to 3 line height
gtk_widget_set_usize (text, -1, 3); /* HB: restrict to 3 line height
* to allow 800x600 mode */
if (image_comment)
gtk_text_insert (GTK_TEXT (text), NULL, NULL, NULL, image_comment, -1);
......
......@@ -1833,7 +1833,7 @@ save_dialog (void)
text = gtk_text_new (NULL, NULL);
gtk_text_set_editable (GTK_TEXT (text), TRUE);
gtk_widget_set_usize (text, -1, 3); /* //HB: restrict to 3 line height
gtk_widget_set_usize (text, -1, 3); /* HB: restrict to 3 line height
* to allow 800x600 mode */
if (image_comment)
gtk_text_insert (GTK_TEXT (text), NULL, NULL, NULL, image_comment, -1);
......
......@@ -1833,7 +1833,7 @@ save_dialog (void)
text = gtk_text_new (NULL, NULL);
gtk_text_set_editable (GTK_TEXT (text), TRUE);
gtk_widget_set_usize (text, -1, 3); /* //HB: restrict to 3 line height
gtk_widget_set_usize (text, -1, 3); /* HB: restrict to 3 line height
* to allow 800x600 mode */
if (image_comment)
gtk_text_insert (GTK_TEXT (text), NULL, NULL, NULL, image_comment, -1);
......
......@@ -1833,7 +1833,7 @@ save_dialog (void)
text = gtk_text_new (NULL, NULL);
gtk_text_set_editable (GTK_TEXT (text), TRUE);
gtk_widget_set_usize (text, -1, 3); /* //HB: restrict to 3 line height
gtk_widget_set_usize (text, -1, 3); /* HB: restrict to 3 line height
* to allow 800x600 mode */
if (image_comment)
gtk_text_insert (GTK_TEXT (text), NULL, NULL, NULL, image_comment, -1);
......
......@@ -1833,7 +1833,7 @@ save_dialog (void)
text = gtk_text_new (NULL, NULL);
gtk_text_set_editable (GTK_TEXT (text), TRUE);
gtk_widget_set_usize (text, -1, 3); /* //HB: restrict to 3 line height
gtk_widget_set_usize (text, -1, 3); /* HB: restrict to 3 line height
* to allow 800x600 mode */
if (image_comment)
gtk_text_insert (GTK_TEXT (text), NULL, NULL, NULL, image_comment, -1);
......
......@@ -1833,7 +1833,7 @@ save_dialog (void)
text = gtk_text_new (NULL, NULL);
gtk_text_set_editable (GTK_TEXT (text), TRUE);
gtk_widget_set_usize (text, -1, 3); /* //HB: restrict to 3 line height
gtk_widget_set_usize (text, -1, 3); /* HB: restrict to 3 line height
* to allow 800x600 mode */
if (image_comment)
gtk_text_insert (GTK_TEXT (text), NULL, NULL, NULL, image_comment, -1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment