Shift the array correctly. Fixes #134055, patch by Tosten Schoenfeld

2004-02-11  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift
	the array correctly.  Fixes #134055, patch by Tosten Schoenfeld
	<kaffeetisch@gmx.de>.
This commit is contained in:
Federico Mena Quintero 2004-02-11 16:28:22 +00:00 committed by Federico Mena Quintero
parent 740252b0cf
commit eb1c785d4f
6 changed files with 32 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-02-11 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift
the array correctly. Fixes #134055, patch by Tosten Schoenfeld
<kaffeetisch@gmx.de>.
Wed Feb 11 02:23:39 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcontainer.c (gtk_container_real_set_focus_child): Handle

View File

@ -1,3 +1,9 @@
2004-02-11 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift
the array correctly. Fixes #134055, patch by Tosten Schoenfeld
<kaffeetisch@gmx.de>.
Wed Feb 11 02:23:39 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcontainer.c (gtk_container_real_set_focus_child): Handle

View File

@ -1,3 +1,9 @@
2004-02-11 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift
the array correctly. Fixes #134055, patch by Tosten Schoenfeld
<kaffeetisch@gmx.de>.
Wed Feb 11 02:23:39 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcontainer.c (gtk_container_real_set_focus_child): Handle

View File

@ -1,3 +1,9 @@
2004-02-11 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift
the array correctly. Fixes #134055, patch by Tosten Schoenfeld
<kaffeetisch@gmx.de>.
Wed Feb 11 02:23:39 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcontainer.c (gtk_container_real_set_focus_child): Handle

View File

@ -1,3 +1,9 @@
2004-02-11 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift
the array correctly. Fixes #134055, patch by Tosten Schoenfeld
<kaffeetisch@gmx.de>.
Wed Feb 11 02:23:39 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcontainer.c (gtk_container_real_set_focus_child): Handle

View File

@ -747,8 +747,8 @@ gtk_icon_theme_prepend_search_path (GtkIconTheme *icon_theme,
priv->search_path_len++;
priv->search_path = g_renew (gchar *, priv->search_path, priv->search_path_len);
for (i = 0; i < priv->search_path_len - 1; i++)
priv->search_path[i+1] = priv->search_path[i];
for (i = priv->search_path_len - 1; i > 0; i--)
priv->search_path[i] = priv->search_path[i - 1];
priv->search_path[0] = g_strdup (path);