summaryrefslogtreecommitdiff
path: root/gtk/gtktreesortable.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-01-04 07:06:12 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-01-04 07:06:12 +0000
commit04eceaf621aec4388bc37e10b63a49da4d2a6942 (patch)
treebddf2cd7704e2174c2cfba8bb1d65036b2a72801 /gtk/gtktreesortable.c
parentf827de4ec41b5f5bba304f2a062b8d67690542d6 (diff)
downloadgtk+-04eceaf621aec4388bc37e10b63a49da4d2a6942.tar.gz
Use the slice allocator for many small allocations.
2006-01-04 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaccelmap.c: * gtk/gtkactiongroup.c: * gtk/gtkdialog.c: * gtk/gtkfilesystemunix.c: * gtk/gtkgc.c: * gtk/gtkkeyhash.c: * gtk/gtkplug.c: * gtk/gtktextiter.c: * gtk/gtktextlayout.c: * gtk/gtkuimanager.c: * gtk/gtkwidget.c: * gtk/gtkwindow.c: * gtk/gtkxembed.c: Use the slice allocator for many small allocations. * gtk/gtkcolorsel.c: * gtk/gtktreeview.c: Use IPN. * gtk/gtkwidget.c: Remove an unused field from the AccelPath struct.
Diffstat (limited to 'gtk/gtktreesortable.c')
-rw-r--r--gtk/gtktreesortable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtktreesortable.c b/gtk/gtktreesortable.c
index d72ef22b53..4961e903af 100644
--- a/gtk/gtktreesortable.c
+++ b/gtk/gtktreesortable.c
@@ -170,6 +170,7 @@ gtk_tree_sortable_set_sort_func (GtkTreeSortable *sortable,
GtkTreeSortableIface *iface;
g_return_if_fail (GTK_IS_TREE_SORTABLE (sortable));
+ g_return_if_fail (sort_func != NULL);
iface = GTK_TREE_SORTABLE_GET_IFACE (sortable);