Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531888 - media-gfx/ufraw-0.20-r1 - ufraw_preview.c:811:35: error: too many arguments to function 'gtk_image_view_set_offset'
Summary: media-gfx/ufraw-0.20-r1 - ufraw_preview.c:811:35: error: too many arguments t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-07 12:39 UTC by Roman
Modified: 2019-09-16 21:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (system.info,5.78 KB, text/plain)
2014-12-07 12:43 UTC, Roman
Details
build.log (file_531888.txt,24.20 KB, text/plain)
2014-12-07 12:49 UTC, Roman
Details

Note You need to log in before you can comment on or make changes to this bug.
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.