mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
Use g_return_if_fail to make sure that the model is a GtkTreeModel.
2004-06-30 Anders Carlsson <andersca@gnome.org> * gtk/gtktreeview.c (gtk_tree_view_set_model): Use g_return_if_fail to make sure that the model is a GtkTreeModel.
This commit is contained in:
parent
46ff66f805
commit
e1020f9523
@ -1,3 +1,8 @@
|
||||
2004-06-30 Anders Carlsson <andersca@gnome.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_model): Use
|
||||
g_return_if_fail to make sure that the model is a GtkTreeModel.
|
||||
|
||||
Sat Jun 26 17:41:10 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtk[hv]separator.c (gtk_[hv]separator_expose): Draw line with the
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-06-30 Anders Carlsson <andersca@gnome.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_model): Use
|
||||
g_return_if_fail to make sure that the model is a GtkTreeModel.
|
||||
|
||||
Sat Jun 26 17:41:10 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtk[hv]separator.c (gtk_[hv]separator_expose): Draw line with the
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-06-30 Anders Carlsson <andersca@gnome.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_model): Use
|
||||
g_return_if_fail to make sure that the model is a GtkTreeModel.
|
||||
|
||||
Sat Jun 26 17:41:10 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtk[hv]separator.c (gtk_[hv]separator_expose): Draw line with the
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-06-30 Anders Carlsson <andersca@gnome.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_model): Use
|
||||
g_return_if_fail to make sure that the model is a GtkTreeModel.
|
||||
|
||||
Sat Jun 26 17:41:10 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtk[hv]separator.c (gtk_[hv]separator_expose): Draw line with the
|
||||
|
@ -8747,6 +8747,7 @@ 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 == tree_view->priv->model)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user