Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 531888

Summary: media-gfx/ufraw-0.20-r1 - ufraw_preview.c:811:35: error: too many arguments to function 'gtk_image_view_set_offset'
Product: Gentoo Linux Reporter: Roman <xtensa>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: nikoli, xtensa
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description Roman 2014-12-07 12:39:54 UTC
ufraw build fails with the following information:

ufraw_preview.c: In function 'render_init':
ufraw_preview.c:811:35: error: too many arguments to function 'gtk_image_view_set_offset'
                                   xc - vp.width / 2, yc - vp.height / 2, FALSE);
                                   ^
In file included from /usr/local/include/gtkimageview/gtkimagenav.h:30:0,
                 from /usr/local/include/gtkimageview/gtkimagescrollwin.h:30,
                 from ufraw_preview.c:24:
/usr/local/include/gtkimageview/gtkimageview.h:150:15: note: declared here
 void          gtk_image_view_set_offset      (GtkImageView    *view,


It seems to be uncomaptibility with gtkimageview package. If I edit ufraw_preview.c and remove last argument then ufraw compiles without error.

Code before:
 809         /* restore the viewport center */
 810         gtk_image_view_set_offset(GTK_IMAGE_VIEW(data->PreviewWidget),
 811                                   xc - vp.width / 2, yc - vp.height / 2, FALSE);


Code after:
 809         /* restore the viewport center */
 810         gtk_image_view_set_offset(GTK_IMAGE_VIEW(data->PreviewWidget),
 811                                   xc - vp.width / 2, yc - vp.height / 2);
Comment 1 Roman 2014-12-07 12:43:37 UTC
Created attachment 391130 [details]
emerge --info
Comment 2 Roman 2014-12-07 12:49:12 UTC
Created attachment 391132 [details]
build.log
Comment 3 Andreas Sturmlechner gentoo-dev 2017-04-04 15:47:55 UTC
Please check with latest stable in tree.