g_strdup(DEFAULT_PIXMAP_THEME)
authorPaul Mangan <paul@claws-mail.org>
Sat, 6 Mar 2004 21:43:08 +0000 (21:43 +0000)
committerPaul Mangan <paul@claws-mail.org>
Sat, 6 Mar 2004 21:43:08 +0000 (21:43 +0000)
ChangeLog.claws
configure.ac
src/stock_pixmap.c

index 846f20310c6347ab2af198bff71022f7233def12..74b464c9f9d1cd83405d2f380b121237a4641100 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-06 [paul]      0.9.9claws40
+
+       * src/stock_pixmap.c
+               fix crash: g_strdup(DEFAULT_PIXMAP_THEME)
+               patch submitted by Pawel Pekala
+
 2004-03-06 [alfons]            0.9.9claws39
 
        * src/addrindex.c
index ad4a1a1a31abd7699fabba621c70e53eda7fdb76..4f9b0bc945f3cc88c219bdb99fbcd2c758f8b489 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=9
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=39
+EXTRA_VERSION=40
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index d598a6cb01cb862f492d6e1683bc6ea0f5c983fb..36d975f1206140ac313a2cd4442c75beabcdb449 100644 (file)
@@ -274,7 +274,7 @@ gint stock_pixmap_gdk(GtkWidget *window, StockPixmap icon,
                        } else {
                                /* even the path does not exist (deleted between two sessions), so
                                set the preferences to the internal theme */
-                               prefs_common.pixmap_theme_path = DEFAULT_PIXMAP_THEME;
+                               prefs_common.pixmap_theme_path = g_strdup(DEFAULT_PIXMAP_THEME);
                        }
                }
                pix_d->pixmap = pix;