gtk+ r20469 - in trunk: . gtk
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20469 - in trunk: . gtk
- Date: Thu, 19 Jun 2008 14:08:59 +0000 (UTC)
Author: johan
Date: Thu Jun 19 14:08:59 2008
New Revision: 20469
URL: http://svn.gnome.org/viewvc/gtk+?rev=20469&view=rev
Log:
2008-06-19 Johan Dahlin <jdahlin async com br>
* gtk/gtkclist.c:
* gtk/gtkstyle.c (gtk_style_finalize):
Do not ignore the return value of g_slist_remove.
gtkstyle.c changes rubberstamped by Owen.
Modified:
trunk/ChangeLog
trunk/gtk/gtkclist.c
trunk/gtk/gtkstyle.c
Modified: trunk/gtk/gtkclist.c
==============================================================================
--- trunk/gtk/gtkclist.c (original)
+++ trunk/gtk/gtkclist.c Thu Jun 19 14:08:59 2008
@@ -2826,7 +2826,7 @@
clist->row_list = g_list_next (list);
if (clist->row_list_end == list)
clist->row_list_end = g_list_previous (list);
- g_list_remove (list, clist_row);
+ list = g_list_remove (list, clist_row);
if (row < ROW_FROM_YPIXEL (clist, 0))
clist->voffset += clist->row_height + CELL_SPACING;
Modified: trunk/gtk/gtkstyle.c
==============================================================================
--- trunk/gtk/gtkstyle.c (original)
+++ trunk/gtk/gtkstyle.c Thu Jun 19 14:08:59 2008
@@ -590,7 +590,7 @@
if (style->styles)
{
if (style->styles->data != style)
- g_slist_remove (style->styles, style);
+ style->styles = g_slist_remove (style->styles, style);
else
{
GSList *tmp_list = style->styles->next;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]