Problem with BMPx
Olivier Fourdan
fourdan at xfce.org
Wed Oct 19 22:32:08 CEST 2005
On Wed, 2005-10-19 at 22:07 +0200, milosz derezynski wrote:
>
> Ok it seems like it's in fact some GTK problem. The shrinking is fixed
> btw
> in SVN HEAD, i used gtk_window_set_default_size() instead of
> set_size_request(), which
> seems to work on latest development XFCE4 (4.3.3 AFAIR).
>
> I'm going to talk to the GTK devels, and.. thanks :)
>
Hey, I finally found the problem!
You pass "window" as second argument of gtk_window_set_geometry_hints ()
Now if you just pass NULL, it works as expected.
gtk_window_set_geometry_hints (GTK_WINDOW (window),
NULL,
&geometry,
GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE
|
GDK_HINT_BASE_SIZE |
GDK_HINT_RESIZE_INC);
With that it works just fine.
More information about the Xfce4-dev
mailing list