Sorry but it does not work with 'sw' instead of 'self->widget'

/home/mau/Sistema/git/darktable/src/libs/collect.c: In function ‘gui_init’:
/home/mau/Sistema/git/darktable/src/libs/collect.c:1775:24: error: ‘sw’
undeclared (first use in this function)
   dt_gui_add_help_link(sw, "collect_images.html#collect_images");


2018-02-14 13:07 GMT+01:00 Tobias Ellinghaus <m...@houz.org>:

> Am Mittwoch, 14. Februar 2018, 00:20:06 CET schrieb Maurizio Paglia:
> > Hi all,
>
> Hi.
>
> > I tried to add contextual help to collect.c
>
> Thanks, any help like that is much appreciated!
>
> > dt compiles without errors but nothing seems to happen when I click on
> the
> > '?' and then on the GUI
> > Can please someone check and tell me where I am failing?
>
> You are adding all the help links to the same parent widget. Instead do
> something like this:
>
> dt_gui_add_help_link(sw, "collect_images.html#collect_images");
>
> > Thank you,
> > Maurizio
>
> Tobias
>
> [...]

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to