gtk+ r21174 - trunk/modules/other/gail



Author: liyuan
Date: Thu Aug 21 05:41:16 2008
New Revision: 21174
URL: http://svn.gnome.org/viewvc/gtk+?rev=21174&view=rev

Log:
2008-08-21  Li Yuan  <li yuan sun com>

        * gailtreeview.c: (traverse_cells):
        Bug #548783. Change g_assert to g_return_if_fail to avoid
        unnucessary crash.


Modified:
   trunk/modules/other/gail/ChangeLog
   trunk/modules/other/gail/gailtreeview.c

Modified: trunk/modules/other/gail/gailtreeview.c
==============================================================================
--- trunk/modules/other/gail/gailtreeview.c	(original)
+++ trunk/modules/other/gail/gailtreeview.c	Thu Aug 21 05:41:16 2008
@@ -3748,7 +3748,7 @@
 	  if (cell_info->in_use)
 	  {
 	      row_path = gtk_tree_row_reference_get_path (cell_info->cell_row_ref);
-	      g_assert (row_path != NULL);
+	      g_return_if_fail (row_path != NULL);
 	      if (tree_path == NULL)
 		  act_on_cell = TRUE;
 	      else 



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