[hyena/gtk3] MenuButton: Fix a Width vs Height typo



commit 9fbf3db0910d1e12fcb0fa5921cc8b8028e574e3
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Fri Jun 3 16:14:57 2011 +0200

    MenuButton: Fix a Width vs Height typo

 Hyena.Gui/Hyena.Widgets/MenuButton.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Hyena.Gui/Hyena.Widgets/MenuButton.cs b/Hyena.Gui/Hyena.Widgets/MenuButton.cs
index de509f9..e28fd76 100644
--- a/Hyena.Gui/Hyena.Widgets/MenuButton.cs
+++ b/Hyena.Gui/Hyena.Widgets/MenuButton.cs
@@ -128,7 +128,7 @@ namespace Hyena.Widgets
 
         protected override void OnGetPreferredWidth (out int minimum_width, out int natural_width)
         {
-            size_widget.GetPreferredHeight (out minimum_width, out natural_width);
+            size_widget.GetPreferredWidth (out minimum_width, out natural_width);
         }
 
         protected override void OnSizeAllocated (Rectangle allocation)



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