Re: Symbols in gdk-pixbuf/pixops become local (was Re: subscribe)

2016-12-26 Thread Martin Guy
On 01/12/2016, Martin Guy  wrote:
> is there another way to turn a piece of code on and off in a
> routine in pixops/ from the testsuite?

Hi all
   Last month I made a workaround for the 14-year-old bug in the scaler
https://bugzilla.gnome.org/show_bug.cgi?id=80925
but it's waiting on a solution to this. I finally hit upon testing an
environment variable which gives the required functionality but is
making noses turn up in the code review.

Any suggestions, for a way to turn on/off a section of code in pixops/
from code in the testsuite?

Thanks

   M
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Symbols in gdk-pixbuf/pixops become local (was Re: subscribe)

2016-12-01 Thread Martin Guy
Hum. THe global variable has become file local.

$ nm gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so.0 | grep scaler
002236f0 b _gdk_disable_two_step_scaler

so the global variable has become file-local, as have its functions:
$ nm gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so.0 | grep pixops
00018b40 t _pixops_composite
00017ee0 t _pixops_composite_color
00017140 t _pixops_scale
000167c0 t pixops_process

Is there something in the linking of gdk-pixbuf that binds the library
calls to the functions in pixops/* that makes them invisible in the
final library?

And/or, is there another way to turn a piece of code on and off in a
routine in pixops/ from the testsuite?

M

M
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: subscribe

2016-12-01 Thread Martin Guy
Hi
   I'm trying to fix the scaler's pathological behaviour when reducing
by a very large factor
https://bugzilla.gnome.org/show_bug.cgi?id=80925
by doing very large reductions in two steps, but I have a compilation
error that I can't figure out.

   I've included in gdk-pixbuf/pixops/pixops.c a global variable used
by its testsuite to disable the two-step optimization:
  gboolean _gdk_disable_two_step_scaler = 0;
which I successfully use in that file:
  if (!_gdk_disable_two_step_scaler)
but when I try to access it from the testsuite in tests/pixbuf-scale-two-step.c:
  extern gboolean _gdk_disable_two_step_scaler;
  ...
 _gdk_disable_two_step_scaler = 1;
it is not found:
  .../gdk-pixbuf/tests/pixbuf-scale-two-step.c:120: undefined
reference to `_gdk_disable_two_step_scaler'

Any ideas why?

M

On 01/12/2016, Martin Guy  wrote:
>
>
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: subscribe

2006-09-20 Thread Armin Burgmeier


> I put this function to create a message box. The initialization it's
> ok, but when I close the window( OK button for example ), the last
> window focus is lost. After that, the focus window is in another
> aplication, I don't know why.

This seems to be an already known bug in the Windows port of GTK+.
Compare to http://bugzilla.gnome.org/show_bug.cgi?id=107319 and/or
http://bugzilla.gnome.org/show_bug.cgi?id=321355.

 -- armin



signature.asc
Description: This is a digitally signed message part
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list