[genius] Thu Oct 02 15:15:01 2014 Jiri (George) Lebl <jirka 5z com>



commit d126b467d7bc92828d63a684f9b1c50d7b0467a3
Author: Jiri (George) Lebl <jiri lebl gmail com>
Date:   Thu Oct 2 15:15:06 2014 -0500

    Thu Oct 02 15:15:01 2014  Jiri (George) Lebl <jirka 5z com>
    
        * src/graphing.c: fix icon size to a known one to avoid gtk warning

 ChangeLog      |    4 ++++
 src/graphing.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b47d788..943800a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Oct 02 15:15:01 2014  Jiri (George) Lebl <jirka 5z com>
+
+       * src/graphing.c: fix icon size to a known one to avoid gtk warning
+
 Thu Oct 02 15:09:30 2014  Jiri (George) Lebl <jirka 5z com>
 
        * src/calc.c: fix minor memory leak
diff --git a/src/graphing.c b/src/graphing.c
index 615cdf0..229ef8a 100644
--- a/src/graphing.c
+++ b/src/graphing.c
@@ -2323,7 +2323,7 @@ ensure_window (gboolean do_window_present)
        errors_label_box = gtk_hbox_new (FALSE, GENIUS_PAD);
        gtk_box_pack_start
                (GTK_BOX (errors_label_box),
-                GTK_WIDGET (gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING, 24)),
+                GTK_WIDGET (gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING, 
GTK_ICON_SIZE_SMALL_TOOLBAR)),
                 FALSE, FALSE, 0);
        gtk_box_pack_start
                (GTK_BOX (errors_label_box),


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