GAL e_table_simple_new API breakage



Hi all,

The latest GAL library (gal-0.11.99.4-snap.ximian.200109180708 on my
machine) has some new parameters in the e_table_simple_new method. This
breaks gnome-debug & gIDE. The attached patches fix this. I assume this
problem exists for all users who use Evolution 0.13 (beta 3), but i'm
not sure.

Jeroen
? gide_gal_api_breakage.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gIDE/ChangeLog,v
retrieving revision 1.137
diff -u -r1.137 ChangeLog
--- ChangeLog	2001/08/28 17:18:25	1.137
+++ ChangeLog	2001/09/20 08:50:30
@@ -1,3 +1,7 @@
+2001-09-20  Jeroen Zwartepoorte <jeroen xs4all nl>
+
+        * tools.c: Fix e_table_simple_new API breakage.
+
 2001-08-28  Fatih Demir <kabalak gtranslator org>
 
 	* configure.in: Moved "AM_PROG_XML_I18N_TOOLS" right after AC_INIT.
Index: src/tools.c
===================================================================
RCS file: /cvs/gnome/gIDE/src/tools.c,v
retrieving revision 1.10
diff -u -r1.10 tools.c
--- src/tools.c	2001/08/24 20:54:09	1.10
+++ src/tools.c	2001/09/20 08:50:30
@@ -355,7 +355,8 @@
 
 	/* create our table model */
 	e_table_model = e_table_simple_new (plugin_col_count, plugin_row_count,
-		plugin_value_at, plugin_set_value_at, plugin_is_cell_editable,
+		NULL, plugin_value_at, plugin_set_value_at, 
+		plugin_is_cell_editable, NULL, NULL,
 		plugin_duplicate_value, plugin_free_value,
 		plugin_initialize_value, plugin_value_is_empty,
 		plugin_value_to_string, NULL);
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-debug/ChangeLog,v
retrieving revision 1.139
diff -u -r1.139 ChangeLog
--- ChangeLog	2001/08/28 17:01:02	1.139
+++ ChangeLog	2001/09/20 08:47:32
@@ -1,3 +1,8 @@
+2001-09-20  Jeroen Zwartepoorte <jeroen xs4all nl>
+
+        * gdf-breakpoint-manager.c, gdf-register-view.c,
+        gdf-stack-browser.c: Fix e_table_simple_new API breakage.
+
 2001-08-28  Fatih Demir <kabalak gtranslator org>
 
 	* .cvsignore: Extended ignores.
Index: src/controls/gdf-breakpoint-manager.c
===================================================================
RCS file: /cvs/gnome/gnome-debug/src/controls/gdf-breakpoint-manager.c,v
retrieving revision 1.20
diff -u -r1.20 gdf-breakpoint-manager.c
--- src/controls/gdf-breakpoint-manager.c	2001/07/04 20:35:50	1.20
+++ src/controls/gdf-breakpoint-manager.c	2001/09/20 08:47:32
@@ -468,8 +468,8 @@
 create_children (GdfBreakpointManager *bpm)
 {   
     bpm->priv->e_table_model
-        = e_table_simple_new (col_count, row_count, value_at, set_value_at, 
-                              is_cell_editable, NULL, NULL, NULL, 
+        = e_table_simple_new (col_count, row_count, NULL, value_at, set_value_at, 
+                              is_cell_editable, NULL, NULL, NULL, NULL, NULL, 
                               value_is_empty, value_to_string, bpm);
                              
     bpm->priv->e_table = e_table_scrolled_new (bpm->priv->e_table_model, 
Index: src/controls/gdf-register-viewer.c
===================================================================
RCS file: /cvs/gnome/gnome-debug/src/controls/gdf-register-viewer.c,v
retrieving revision 1.17
diff -u -r1.17 gdf-register-viewer.c
--- src/controls/gdf-register-viewer.c	2001/07/04 20:35:50	1.17
+++ src/controls/gdf-register-viewer.c	2001/09/20 08:47:32
@@ -416,9 +416,9 @@
                         GTK_SIGNAL_FUNC (show_fp_toggled_cb), rv);
 
     rv->priv->e_table_model = 
-        e_table_simple_new (col_count, row_count, value_at,
+        e_table_simple_new (col_count, row_count, NULL, value_at,
                             set_value_at, is_cell_editable,
-                            NULL, NULL, NULL,
+                            NULL, NULL, NULL, NULL, NULL,
                             value_is_empty,
                             value_to_string, rv);
     
Index: src/controls/gdf-stack-browser.c
===================================================================
RCS file: /cvs/gnome/gnome-debug/src/controls/gdf-stack-browser.c,v
retrieving revision 1.22
diff -u -r1.22 gdf-stack-browser.c
--- src/controls/gdf-stack-browser.c	2001/07/04 20:35:50	1.22
+++ src/controls/gdf-stack-browser.c	2001/09/20 08:47:32
@@ -445,9 +445,9 @@
     GdkPixbuf *pixbufs[2];
 
     sb->priv->e_table_model = 
-        e_table_simple_new (col_count, row_count, value_at,
+        e_table_simple_new (col_count, row_count, NULL, value_at,
                             set_value_at, is_cell_editable,
-                            NULL, NULL, NULL,
+                            NULL, NULL, NULL, NULL, NULL,
                             value_is_empty,
                             value_to_string, sb);
     


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