forked from AuroraMiddleware/gtk
Make sure we check for a NULL model first.
2004-07-02 Anders Carlsson <andersca@gnome.org> * gtk/gtktreeview.c (gtk_tree_view_set_model): Make sure we check for a NULL model first.
This commit is contained in:
parent
f7e3b1ecd4
commit
ee15a7b948
@ -1,3 +1,8 @@
|
||||
2004-07-02 Anders Carlsson <andersca@gnome.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_model):
|
||||
Make sure we check for a NULL model first.
|
||||
|
||||
2004-07-01 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gdk/win32/gdkinput-win32.c (_gdk_input_ungrab_pointer): Fix
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-07-02 Anders Carlsson <andersca@gnome.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_model):
|
||||
Make sure we check for a NULL model first.
|
||||
|
||||
2004-07-01 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gdk/win32/gdkinput-win32.c (_gdk_input_ungrab_pointer): Fix
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-07-02 Anders Carlsson <andersca@gnome.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_model):
|
||||
Make sure we check for a NULL model first.
|
||||
|
||||
2004-07-01 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gdk/win32/gdkinput-win32.c (_gdk_input_ungrab_pointer): Fix
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-07-02 Anders Carlsson <andersca@gnome.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_model):
|
||||
Make sure we check for a NULL model first.
|
||||
|
||||
2004-07-01 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gdk/win32/gdkinput-win32.c (_gdk_input_ungrab_pointer): Fix
|
||||
|
@ -8747,7 +8747,9 @@ gtk_tree_view_set_model (GtkTreeView *tree_view,
|
||||
GtkTreeModel *model)
|
||||
{
|
||||
g_return_if_fail (GTK_IS_TREE_VIEW (tree_view));
|
||||
g_return_if_fail (GTK_IS_TREE_MODEL (model));
|
||||
|
||||
if (model != NULL)
|
||||
g_return_if_fail (GTK_IS_TREE_MODEL (model));
|
||||
|
||||
if (model == tree_view->priv->model)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user