mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Make the code clearer. (#155239, Murray Cumming)
2004-10-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_new): Make the code clearer. (#155239, Murray Cumming)
This commit is contained in:
parent
ad772ec9e4
commit
bfb64fa04f
@ -1,5 +1,8 @@
|
||||
2004-10-20 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_new): Make
|
||||
the code clearer. (#155239, Murray Cumming)
|
||||
|
||||
* gtk/gtkicontheme.c: Small fixes.
|
||||
|
||||
* gtk/gtkrc.c: Include gtkmodules.h. (#155885, Kazuki IWAMOTO)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2004-10-20 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_new): Make
|
||||
the code clearer. (#155239, Murray Cumming)
|
||||
|
||||
* gtk/gtkicontheme.c: Small fixes.
|
||||
|
||||
* gtk/gtkrc.c: Include gtkmodules.h. (#155885, Kazuki IWAMOTO)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2004-10-20 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_new): Make
|
||||
the code clearer. (#155239, Murray Cumming)
|
||||
|
||||
* gtk/gtkicontheme.c: Small fixes.
|
||||
|
||||
* gtk/gtkrc.c: Include gtkmodules.h. (#155885, Kazuki IWAMOTO)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2004-10-20 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_new): Make
|
||||
the code clearer. (#155239, Murray Cumming)
|
||||
|
||||
* gtk/gtkicontheme.c: Small fixes.
|
||||
|
||||
* gtk/gtkrc.c: Include gtkmodules.h. (#155885, Kazuki IWAMOTO)
|
||||
|
@ -2417,11 +2417,10 @@ gtk_tree_model_filter_new (GtkTreeModel *child_model,
|
||||
|
||||
g_return_val_if_fail (GTK_IS_TREE_MODEL (child_model), NULL);
|
||||
|
||||
retval = GTK_TREE_MODEL (g_object_new (gtk_tree_model_filter_get_type (), NULL));
|
||||
|
||||
gtk_tree_model_filter_set_model (GTK_TREE_MODEL_FILTER (retval),
|
||||
child_model);
|
||||
gtk_tree_model_filter_set_root (GTK_TREE_MODEL_FILTER (retval), root);
|
||||
retval = GTK_TREE_MODEL (g_object_new (GTK_TYPE_TREE_MODEL_FILTER,
|
||||
"child_model", child_model,
|
||||
"virtual_root", root,
|
||||
NULL));
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user