[balsa/gtk3] Add built-in icon with the correct size



commit 87884e05776553c001845f19ed6ea55ca4a2987d
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Mon Jul 22 11:50:23 2013 -0400

    Add built-in icon with the correct size
    
        * src/balsa-icons.c (load_balsa_pixmap): add built-in icon with
        the correct size.

 ChangeLog         |    5 +++++
 src/balsa-icons.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1a9c1df..9026ca2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2013-07-22  Peter Bloomfield
 
+       * src/balsa-icons.c (load_balsa_pixmap): add built-in icon with
+       the correct size.
+
+2013-07-22  Peter Bloomfield
+
        More GtkStock deprecation cleanup
 
        * src/balsa-app.c (balsa_stock_button_with_label):
diff --git a/src/balsa-icons.c b/src/balsa-icons.c
index f913564..cf272ff 100644
--- a/src/balsa-icons.c
+++ b/src/balsa-icons.c
@@ -130,7 +130,7 @@ load_balsa_pixmap(GtkIconTheme *icon_theme, const balsa_pixmap_t *bpixmap)
                g_clear_error(&error);
            } else {
                 BICONS_LOG("\tloaded with size %d", width);
-                gtk_icon_theme_add_builtin_icon(use_id, bpixmap->sizes[n],
+                gtk_icon_theme_add_builtin_icon(bpixmap->name, width,
                                                 pixbuf);
            }
        } else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]