gtk+ r19375 - in branches/gtk-2-10: . gtk
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r19375 - in branches/gtk-2-10: . gtk
- Date: Wed, 16 Jan 2008 05:29:26 +0000 (GMT)
Author: matthiasc
Date: Wed Jan 16 05:29:25 2008
New Revision: 19375
URL: http://svn.gnome.org/viewvc/gtk+?rev=19375&view=rev
Log:
2008-01-16 Matthias Clasen <mclasen redhat com>
* gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
the notify::model signal. (#509819, David Zeuthen)
Modified:
branches/gtk-2-10/ChangeLog
branches/gtk-2-10/gtk/gtkcombobox.c
Modified: branches/gtk-2-10/gtk/gtkcombobox.c
==============================================================================
--- branches/gtk-2-10/gtk/gtkcombobox.c (original)
+++ branches/gtk-2-10/gtk/gtkcombobox.c Wed Jan 16 05:29:25 2008
@@ -4704,7 +4704,7 @@
gtk_combo_box_unset_model (combo_box);
if (model == NULL)
- return;
+ goto out;
combo_box->priv->model = model;
g_object_ref (combo_box->priv->model);
@@ -4744,6 +4744,9 @@
if (combo_box->priv->cell_view)
gtk_cell_view_set_model (GTK_CELL_VIEW (combo_box->priv->cell_view),
combo_box->priv->model);
+
+out:
+ g_object_notify (G_OBJECT (combo_box), "model");
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]