[gnome-contacts/new-design] Fix issue with column spacing handling



commit cf246452e6d1565fcd4c2b0f83a11f411e28147b
Author: Alexander Larsson <alexl redhat com>
Date:   Mon Dec 12 14:11:35 2011 +0100

    Fix issue with column spacing handling

 src/contacts-row.vala |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/contacts-row.vala b/src/contacts-row.vala
index 329ddc0..b18bc36 100644
--- a/src/contacts-row.vala
+++ b/src/contacts-row.vala
@@ -44,13 +44,14 @@ public class Contacts.RowGroup : Object {
       column_info[i].nat_width = -1;
       column_info[i].max_width = -1;
       column_info[i].prio = 0;
+      column_info[i].spacing = 0;
     }
 
     rows = new Gee.ArrayList<Row>();
   }
 
-  public unowned ColumnInfo? get_column_info (int col) {
-    return column_info[col];
+  public ColumnInfo *get_column_info (int col) {
+    return &column_info[col];
   }
 
   public void add (Row row) {



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