From ffbd6220fee9a8f6f46e97c85349a00b9b151f4a Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 11 Feb 2004 16:54:47 +0000 Subject: [PATCH] Fixes #134051. 2004-02-11 Federico Mena Quintero Fixes #134051. * gtk/gtkicontheme.c (struct _GtkIconInfo): Remove the ref_count field. (icon_info_new): Don't initialize the ref_count field. --- ChangeLog | 7 +++++++ ChangeLog.pre-2-10 | 7 +++++++ ChangeLog.pre-2-4 | 7 +++++++ ChangeLog.pre-2-6 | 7 +++++++ ChangeLog.pre-2-8 | 7 +++++++ gtk/gtkicontheme.c | 3 --- 6 files changed, 35 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a010a10c2..b73af077b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-02-11 Federico Mena Quintero + + Fixes #134051. + + * gtk/gtkicontheme.c (struct _GtkIconInfo): Remove the ref_count field. + (icon_info_new): Don't initialize the ref_count field. + 2004-02-11 Federico Mena Quintero * gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 3a010a10c2..b73af077b1 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +2004-02-11 Federico Mena Quintero + + Fixes #134051. + + * gtk/gtkicontheme.c (struct _GtkIconInfo): Remove the ref_count field. + (icon_info_new): Don't initialize the ref_count field. + 2004-02-11 Federico Mena Quintero * gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 3a010a10c2..b73af077b1 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +2004-02-11 Federico Mena Quintero + + Fixes #134051. + + * gtk/gtkicontheme.c (struct _GtkIconInfo): Remove the ref_count field. + (icon_info_new): Don't initialize the ref_count field. + 2004-02-11 Federico Mena Quintero * gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 3a010a10c2..b73af077b1 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +2004-02-11 Federico Mena Quintero + + Fixes #134051. + + * gtk/gtkicontheme.c (struct _GtkIconInfo): Remove the ref_count field. + (icon_info_new): Don't initialize the ref_count field. + 2004-02-11 Federico Mena Quintero * gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 3a010a10c2..b73af077b1 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +2004-02-11 Federico Mena Quintero + + Fixes #134051. + + * gtk/gtkicontheme.c (struct _GtkIconInfo): Remove the ref_count field. + (icon_info_new): Don't initialize the ref_count field. + 2004-02-11 Federico Mena Quintero * gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 01a91f5635..4af3e7ae1a 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -95,8 +95,6 @@ struct _GtkIconThemePrivate struct _GtkIconInfo { - guint ref_count; - /* Information about the source */ gchar *filename; @@ -1967,7 +1965,6 @@ icon_info_new (void) { GtkIconInfo *icon_info = g_new0 (GtkIconInfo, 1); - icon_info->ref_count = 1; icon_info->scale = -1.; return icon_info;