r18884 - gnucash/trunk/src/gnome-utils - Regression fix: patch for colored tabs segfault in trunk, patch by Tom Van Braeckel

Geert Janssens gjanssens at code.gnucash.org
Wed Mar 10 08:17:21 EST 2010


Author: gjanssens
Date: 2010-03-10 08:17:21 -0500 (Wed, 10 Mar 2010)
New Revision: 18884
Trac: http://svn.gnucash.org/trac/changeset/18884

Modified:
   gnucash/trunk/src/gnome-utils/gnc-main-window.c
Log:
Regression fix: patch for colored tabs segfault in trunk, patch by Tom Van Braeckel

Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c	2010-03-09 22:50:08 UTC (rev 18883)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c	2010-03-10 13:17:21 UTC (rev 18884)
@@ -1924,7 +1924,7 @@
     /* Update Tooltip on notebook Tab */
     main_window_find_tab_event(window, page, &event_box);
 
-    if (strstr(old_page_long_name,old_page_name) != NULL)
+    if (g_strstr(old_page_long_name,old_page_name) != NULL)
     {
         gchar *new_page_long_name;
         gint string_position;



More information about the gnucash-changes mailing list