[evolution-patches] ETable Ref Count Patch



Removes extra ref that was keeping the sorter from being freed and hence
my model.

-JP
-- 
JP Rosevear <jpr ximian com>
Ximian, Inc.
? autom4te.cache
? etss.diff
? ref.patch
? docs/gal-api.html
? gal/e-table/eto.patch
Index: gal/e-table/ChangeLog
===================================================================
RCS file: /cvs/gnome/gal/gal/e-table/ChangeLog,v
retrieving revision 1.889
diff -u -r1.889 ChangeLog
--- gal/e-table/ChangeLog	29 Apr 2003 18:27:04 -0000	1.889
+++ gal/e-table/ChangeLog	1 May 2003 12:04:13 -0000
@@ -1,3 +1,7 @@
+2003-05-01  JP Rosevear  <jpr ximian com>
+
+	* e-table.c (et_real_construct): remove gratuitous ref
+
 2003-04-29  Mike Kestner  <mkestner ximian com>
 
 	* e-cell-text.c (build_layout): don't use unicode ellipsis so
Index: gal/e-table/e-table.c
===================================================================
RCS file: /cvs/gnome/gal/gal/e-table/e-table.c,v
retrieving revision 1.222
diff -u -r1.222 e-table.c
--- gal/e-table/e-table.c	20 Apr 2003 22:08:00 -0000	1.222
+++ gal/e-table/e-table.c	1 May 2003 12:04:14 -0000
@@ -1493,7 +1493,6 @@
 	g_free (val);
 
 	e_table->sorter = e_table_sorter_new(etm, e_table->full_header, e_table->sort_info);
-	g_object_ref (e_table->sorter);
 
 	g_object_set (e_table->selection,
 		      "model", etm,


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