gtk+ r21014 - in trunk: . gtk
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21014 - in trunk: . gtk
- Date: Tue, 5 Aug 2008 15:44:04 +0000 (UTC)
Author: mitch
Date: Tue Aug 5 15:44:04 2008
New Revision: 21014
URL: http://svn.gnome.org/viewvc/gtk+?rev=21014&view=rev
Log:
2008-08-05 Michael Natterer <mitch imendio com>
* gtk/gtkcombobox.c (gtk_combo_box_update_sensitivity): bail out
early if priv->button is NULL to avoid zillions of warnings when
destroying combo boxes that were working fine before the
button sensitivity patch.
Modified:
trunk/ChangeLog
trunk/gtk/gtkcombobox.c
Modified: trunk/gtk/gtkcombobox.c
==============================================================================
--- trunk/gtk/gtkcombobox.c (original)
+++ trunk/gtk/gtkcombobox.c Tue Aug 5 15:44:04 2008
@@ -3157,6 +3157,9 @@
GtkTreeIter iter;
gboolean sensitive = TRUE; /* fool code checkers */
+ if (!combo_box->priv->button)
+ return;
+
switch (combo_box->priv->button_sensitivity)
{
case GTK_SENSITIVITY_ON:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]