projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bb4cf08
)
Remove commented out code.
author
Laurent Monin
<zas@norz.org>
Thu, 30 Aug 2012 13:53:29 +0000
(15:53 +0200)
committer
Laurent Monin
<zas@norz.org>
Thu, 30 Aug 2012 13:53:29 +0000
(15:53 +0200)
src/pixbuf_util.c
patch
|
blob
|
history
diff --git
a/src/pixbuf_util.c
b/src/pixbuf_util.c
index
1614c0d
..
14978fc
100644
(file)
--- a/
src/pixbuf_util.c
+++ b/
src/pixbuf_util.c
@@
-349,10
+349,6
@@
GdkPixbuf *pixbuf_copy_rotate_90(GdkPixbuf *src, gboolean counter_clockwise)
gint dw, dh, drs;
guchar *s_pix;
guchar *d_pix;
gint dw, dh, drs;
guchar *s_pix;
guchar *d_pix;
-#if 0
- guchar *sp;
- guchar *dp;
-#endif
gint i, j;
gint a;
GdkPixbuf *buffer;
gint i, j;
gint a;
GdkPixbuf *buffer;
@@
-1009,20
+1005,6
@@
static gboolean util_clip_line(gdouble clip_x, gdouble clip_y, gdouble clip_w, g
if (y1 < clip_y || y2 > clip_y + clip_h) return FALSE;
}
if (y1 < clip_y || y2 > clip_y + clip_h) return FALSE;
}
-#if 0
- if (x1 >= clip_x && x2 <= clip_x + clip_w)
- {
- if (y1 < y2)
- {
- if (y1 >= clip_y && y2 <= clip_y + clip_h) return TRUE;
- }
- else
- {
- if (y2 >= clip_y && y1 <= clip_y + clip_h) return TRUE;
- }
- }
-#endif
-
d = x2 - x1;
if (d > 0.0)
{
d = x2 - x1;
if (d > 0.0)
{