gtk+ r19462 - in trunk: . gtk
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r19462 - in trunk: . gtk
- Date: Mon, 4 Feb 2008 23:01:00 +0000 (GMT)
Author: mitch
Date: Mon Feb 4 23:01:00 2008
New Revision: 19462
URL: http://svn.gnome.org/viewvc/gtk+?rev=19462&view=rev
Log:
2008-02-04 Michael Natterer <mitch imendio com>
* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
g_return_if_fail() is the cell is not part of the combo instead of
crashing in the next line.
Modified:
trunk/ChangeLog
trunk/gtk/gtkcombobox.c
Modified: trunk/gtk/gtkcombobox.c
==============================================================================
--- trunk/gtk/gtkcombobox.c (original)
+++ trunk/gtk/gtkcombobox.c Mon Feb 4 23:01:00 2008
@@ -4264,6 +4264,7 @@
combo_box = GTK_COMBO_BOX (layout);
info = gtk_combo_box_get_cell_info (combo_box, cell);
+ g_return_if_fail (info != NULL);
info->attributes = g_slist_prepend (info->attributes,
GINT_TO_POINTER (column));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]