From 0c4c9f0d1c482740670368466a3aedabec833169 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Thu, 12 Feb 2004 23:06:30 +0000 Subject: [PATCH] Remove an extraneous + 1 (#134015, Torsten Schoenfeld) Thu Feb 12 17:59:52 2004 Owen Taylor * gtk/gtkicontheme.c (gtk_icon_theme_get_search_path): Remove an extraneous + 1 (#134015, Torsten Schoenfeld) --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkicontheme.c | 2 +- 6 files changed, 26 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 83a81acaad..a2f84e98a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Feb 12 17:59:52 2004 Owen Taylor + + * gtk/gtkicontheme.c (gtk_icon_theme_get_search_path): + Remove an extraneous + 1 (#134015, Torsten Schoenfeld) + Thu Feb 12 23:55:08 2004 Matthias Clasen * gtk/gtktooltips.h: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 83a81acaad..a2f84e98a0 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Thu Feb 12 17:59:52 2004 Owen Taylor + + * gtk/gtkicontheme.c (gtk_icon_theme_get_search_path): + Remove an extraneous + 1 (#134015, Torsten Schoenfeld) + Thu Feb 12 23:55:08 2004 Matthias Clasen * gtk/gtktooltips.h: diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 83a81acaad..a2f84e98a0 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Thu Feb 12 17:59:52 2004 Owen Taylor + + * gtk/gtkicontheme.c (gtk_icon_theme_get_search_path): + Remove an extraneous + 1 (#134015, Torsten Schoenfeld) + Thu Feb 12 23:55:08 2004 Matthias Clasen * gtk/gtktooltips.h: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 83a81acaad..a2f84e98a0 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Thu Feb 12 17:59:52 2004 Owen Taylor + + * gtk/gtkicontheme.c (gtk_icon_theme_get_search_path): + Remove an extraneous + 1 (#134015, Torsten Schoenfeld) + Thu Feb 12 23:55:08 2004 Matthias Clasen * gtk/gtktooltips.h: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 83a81acaad..a2f84e98a0 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Thu Feb 12 17:59:52 2004 Owen Taylor + + * gtk/gtkicontheme.c (gtk_icon_theme_get_search_path): + Remove an extraneous + 1 (#134015, Torsten Schoenfeld) + Thu Feb 12 23:55:08 2004 Matthias Clasen * gtk/gtktooltips.h: diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 4af3e7ae1a..36ff1440cd 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -689,7 +689,7 @@ gtk_icon_theme_get_search_path (GtkIconTheme *icon_theme, { *path = g_new (gchar *, priv->search_path_len + 1); for (i = 0; i < priv->search_path_len; i++) - (*path)[i] = g_strdup (priv->search_path[i] + 1); + (*path)[i] = g_strdup (priv->search_path[i]); (*path)[i] = NULL; } }