View | Details | Raw Unified
Collapse All | Expand All

(-) gnumeric-1.2.0.orig/src/dialogs/dialog-sheet-order.c (-1 / +2 lines)
 Lines 106-111    Link Here 
static gint
static gint
location_of_iter (GtkTreeIter  *iter, GtkListStore *model)
location_of_iter (GtkTreeIter  *iter, GtkListStore *model)
{
{
	gint loc;
	/* Note: in gtk 2.2 we could just do: */
	/* Note: in gtk 2.2 we could just do: */
/* 	gchar* path = gtk_tree_model_get_string_from_iter */
/* 	gchar* path = gtk_tree_model_get_string_from_iter */
/* 		(GTK_TREE_MODEL (model), iter); */
/* 		(GTK_TREE_MODEL (model), iter); */
 Lines 117-123    Link Here 
	gtk_tree_path_free (treepath);
	gtk_tree_path_free (treepath);
	/* end of gtk 2.0 code */
	/* end of gtk 2.0 code */
	gint loc = atoi(path);
	loc = atoi(path);
	
	
	g_free (path);
	g_free (path);