Author: abock
Date: Fri Feb  8 20:14:19 2008
New Revision: 3173
URL: http://svn.gnome.org/viewvc/banshee?rev=3173&view=rev

Log:
2008-02-08  Aaron Bockover  <[EMAIL PROTECTED]>

    * src/Core/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs: Make GtkScrolledWindow
    happy by overriding OnSetScrollAdjustments to avoid g_warning spewage



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs

Modified: trunk/banshee/src/Core/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs
==============================================================================
--- trunk/banshee/src/Core/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs      
(original)
+++ trunk/banshee/src/Core/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs      Fri Feb 
 8 20:14:19 2008
@@ -98,6 +98,13 @@
             child.SizeAllocate (child_allocation);
         }
         
+        protected override void OnSetScrollAdjustments (Adjustment hadj, 
Adjustment vadj)
+        {
+            // This is to satisfy the gtk_widget_set_scroll_adjustments 
+            // inside of GtkScrolledWindow so it doesn't complain about 
+            // its child not being scrollable.
+        }
+        
         protected override bool OnExposeEvent (Gdk.EventExpose evnt)
         {
             if (!IsDrawable) {
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to