Commit 1c27e32d authored by JodyGoldberg's avatar JodyGoldberg Committed by Jody Goldberg
Browse files

Use list_prepend, and reverse in palce of append.

2002-01-22  Jody Goldberg <jody@gnome.org>

	* src/sheet-autofill.c (autofill_create_fill_items) : Use
	  list_prepend, and reverse in palce of append.
parent 6defdefc
2002-01-22 Jody Goldberg <jody@gnome.org>
* src/sheet-autofill.c (autofill_create_fill_items) : Use
list_prepend, and reverse in palce of append.
2001-01-22 Kevin Breit <mrproper@ximian.com>
* Makefile.am: Added omf-install/
......
Gnumeric 1.0.4
Jody:
http://bugzilla.gnome.org/show_bug.cgi?id=69400
--------------------------------------------------------------------------
Gnumeric 1.0.3
......
2002-01-22 Jody Goldberg <jody@gnome.org>
* src/sheet-autofill.c (autofill_create_fill_items) : Use
list_prepend, and reverse in palce of append.
2001-01-22 Kevin Breit <mrproper@ximian.com>
* Makefile.am: Added omf-install/
......
2002-01-22 Jody Goldberg <jody@gnome.org>
* src/sheet-autofill.c (autofill_create_fill_items) : Use
list_prepend, and reverse in palce of append.
2001-01-22 Kevin Breit <mrproper@ximian.com>
* Makefile.am: Added omf-install/
......
2002-01-22 Jody Goldberg <jody@gnome.org>
* src/sheet-autofill.c (autofill_create_fill_items) : Use
list_prepend, and reverse in palce of append.
2001-01-22 Kevin Breit <mrproper@ximian.com>
* Makefile.am: Added omf-install/
......
......@@ -3,8 +3,6 @@ AC_INIT(src/gnumeric.h)
AM_CONFIG_HEADER(gnumeric-config.h)
AM_INIT_AUTOMAKE(gnumeric,1.0.4)
AM_MAINTAINER_MODE
AM_ACLOCAL_INCLUDE(macros)
AM_PROG_XML_I18N_TOOLS
# Make --disable-static the default
AC_DISABLE_STATIC
......
2002-01-22 Jody Goldberg <jody@gnome.org>
* dialog-cell-sort.c (col_row_name_list) : prepend then reverse,
append is slow.
2002-01-21 Jody Goldberg <jody@gnome.org>
* Release 1.0.3
......
......@@ -106,10 +106,10 @@ col_row_name_list (Sheet *sheet, int start, int end,
str = is_cols
? col_row_name (sheet, i, index, header, TRUE)
: col_row_name (sheet, index, i, header, FALSE);
list = g_list_append (list, str);
list = g_list_prepend (list, str);
}
return list;
return g_list_reverse (list);
}
static gint
......
......@@ -1041,8 +1041,8 @@ item_grid_event (GnomeCanvasItem *item, GdkEvent *event)
return TRUE;
switch (event->button.button) {
/* This is here just for demo purposes */
case 2: drag_start (GTK_WIDGET (item->canvas), event, sheet);
g_warning ("This is here just for demo purposes");
return TRUE;
case 3: scg_context_menu (ig->scg, &event->button, FALSE, FALSE);
......
......@@ -522,14 +522,14 @@ autofill_create_fill_items (Sheet *sheet, gboolean singleton_increment,
if (!type_is_compatible (last, fi)) {
if (last) {
all_items = g_list_append (all_items, item_list);
all_items = g_list_prepend (all_items, g_list_reverse (item_list));
item_list = NULL;
}
last = fi;
}
item_list = g_list_append (item_list, fi);
item_list = g_list_prepend (item_list, fi);
if (col_inc != 0) {
col += col_inc * fi->merged_size.col;
......@@ -541,7 +541,8 @@ autofill_create_fill_items (Sheet *sheet, gboolean singleton_increment,
}
if (item_list)
all_items = g_list_append (all_items, item_list);
all_items = g_list_prepend (all_items, g_list_reverse (item_list));
all_items = g_list_reverse (all_items);
/* Make every non-ending group point to the end element
* and compute the deltas.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment