[gnome-contacts/wip/sorted] Use get_preferred_width_internal()



commit 6da20da5249ff3d7e25df385bf2463f8466f2f2b
Author: Alexander Larsson <alexl redhat com>
Date:   Mon May 14 10:57:49 2012 +0200

    Use get_preferred_width_internal()

 src/contacts-sorted.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/contacts-sorted.vala b/src/contacts-sorted.vala
index 9b7807c..fa2b83c 100644
--- a/src/contacts-sorted.vala
+++ b/src/contacts-sorted.vala
@@ -721,7 +721,7 @@ public class Contacts.Sorted : Container {
 
   public override void get_preferred_height (out int minimum_height, out int natural_height) {
     int natural_width;
-    get_preferred_width (null, out natural_width);
+    get_preferred_width_internal (null, out natural_width);
     get_preferred_height_for_width_internal (natural_width, out minimum_height, out natural_height);
   }
 
@@ -785,7 +785,7 @@ public class Contacts.Sorted : Container {
   }
 
   public override void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width) {
-    get_preferred_width (out minimum_width, out natural_width);
+    get_preferred_width_internal (out minimum_width, out natural_width);
   }
 
   public override void size_allocate (Gtk.Allocation allocation) {



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