[directfb-dev] GTK+ 2.14 and directFB
Sven Neumann
s.neumann at phase-zero.de
Thu Feb 19 22:37:25 UTC 2009
Hi,
On Wed, 2009-02-18 at 23:13 +0100, Jérémy Bobbio wrote:
> * Critical: scrolling does not work in GtkTreeView. This is a real
> problem as many questions of the debian-installer are asked through
> GtkTreeView.
Attached is a simple patch that restores scrolling functionality. I have
already committed this to trunk and gtk-2-14.
Sven
-------------- next part --------------
Index: gdk/directfb/gdkwindow-directfb.c
===================================================================
--- gdk/directfb/gdkwindow-directfb.c (revision 22380)
+++ gdk/directfb/gdkwindow-directfb.c (working copy)
@@ -1427,8 +1430,14 @@ gdk_directfb_window_move_resize (GdkWind
private = GDK_WINDOW_OBJECT (window);
impl = GDK_WINDOW_IMPL_DIRECTFB (private->impl);
+ if (with_move && (width < 0 && height < 0))
+ {
+ gdk_directfb_window_move (window, x, y);
+ return;
+ }
+
if (width < 1)
- width = 1;
+ width = 1;
if (height < 1)
height = 1;
More information about the pkg-gnome-maintainers
mailing list