Here's a bugfix about viewport



Since I forgot gtk was moderating this mailing list for those who
haven't subscribe, I send the patch with my other mail address, sorry if
it gets duplicated.

Here's a patch that deals with viewport adjustement.

MCArkan

-- 
 Xavier Ordoquy, Aurora-linux
 "The software said 'runs on Win95 or better,' so I installed it on
Linux"
diff -u -r1.53 gtk+/gtk/gtkviewport.c
--- gtk+/gtk/gtkviewport.c	2001/12/10 21:50:36	1.53
+++ gtk+/gtk/gtkviewport.c	2002/01/09 07:24:55
@@ -677,7 +677,7 @@
   if (!viewport->hadjustment)
     gtk_viewport_set_hadjustment (viewport, NULL);
   if (!viewport->vadjustment)
-    gtk_viewport_set_hadjustment (viewport, NULL);
+    gtk_viewport_set_vadjustment (viewport, NULL);
 
   /* If our size changed, and we have a shadow, queue a redraw on widget->window to
    * redraw the shadow correctly.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]