[Lazarus] RE : gtk2 liboverlay Ubuntu Unity

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jun 28 17:00:04 CEST 2012


Alexsander Rosa <alexsander.rosa at gmail.com> hat am 28. Juni 2012 um 15:43
geschrieben:


> It seems a good hack, but it depends on their code...
> 


Another workaround was implemented. See
lcl/interfaces/gtk2/gtk2disableliboverlay.pas

Mattias




>  2012/6/26 Ludo Brands <ludo.brands at free.fr <mailto:ludo.brands at free.fr> >
>    > > 
> >    > Just export a function from lcl and catch that -
> >    > like catching 'qt_startup_hook' in the above code.
> >    That code has inspired me for the following hack:
> >    In the project.lpr add the following code:
> >    >>>
> >    Procedure qt_startup_hook;export;
> >    Begin
> >    End;
> > 
> >    Exports qt_startup_hook;
> >    <<<
> > 
> > 
> >    This is enough to black-list your app. I'm not aware of any side effects
> >    exporting this symbol would have.
> > 
> >    Ludo
> > 
> > 
> > 
> > 
> > 
> >    --
> >    _______________________________________________
> >    Lazarus mailing list
> >    Lazarus at lists.lazarus.freepascal.org
> > <mailto:Lazarus at lists.lazarus.freepascal.org>
> >    http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> > <http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
> >  > 
> 
> 
>  --
>  Atenciosamente,
>  Alexsander da Rosa
>  http://rednaxel.com <http://rednaxel.com>
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120628/fd8225b5/attachment-0003.html>


More information about the Lazarus mailing list