[gtk+/spinner: 10/10] GtkIconTheme: Drop an unused variable
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/spinner: 10/10] GtkIconTheme: Drop an unused variable
- Date: Fri, 20 Jun 2014 19:57:19 +0000 (UTC)
commit f73aa5b3d7b9fba4768e12552f1cf712f2eb6783
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jun 20 15:52:48 2014 -0400
GtkIconTheme: Drop an unused variable
We no longer need a separate field for symbolic icon size,
now that we are using the size of the regular icon.
gtk/gtkicontheme.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index f64f13a..fbedb1e 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -264,8 +264,6 @@ struct _GtkIconInfo
gdouble scale;
SymbolicPixbufCache *symbolic_pixbuf_cache;
-
- GtkRequisition *symbolic_pixbuf_size;
};
typedef struct
@@ -3429,7 +3427,6 @@ gtk_icon_info_finalize (GObject *object)
g_clear_object (&icon_info->proxy_pixbuf);
g_clear_object (&icon_info->cache_pixbuf);
g_clear_error (&icon_info->load_error);
- g_clear_pointer (&icon_info->symbolic_pixbuf_size, gtk_requisition_free);
symbolic_pixbuf_cache_free (icon_info->symbolic_pixbuf_cache);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]