model: Change the column argument type to gint for clutter_model_set_sort

Like in clutter_model_set_sorting_column this function should take a
gint column, otherwise GObject-Introspection won't allow to pass a NULL
sorting function.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2527
This commit is contained in:
Bastian Winkler 2011-01-12 12:54:43 +01:00 committed by Emmanuele Bassi
parent 8a6986089b
commit 8e1c1909f8
2 changed files with 2 additions and 2 deletions

View File

@ -1509,7 +1509,7 @@ clutter_model_foreach (ClutterModel *model,
*/ */
void void
clutter_model_set_sort (ClutterModel *model, clutter_model_set_sort (ClutterModel *model,
guint column, gint column,
ClutterModelSortFunc func, ClutterModelSortFunc func,
gpointer user_data, gpointer user_data,
GDestroyNotify notify) GDestroyNotify notify)

View File

@ -244,7 +244,7 @@ void clutter_model_foreach (ClutterModel *model,
ClutterModelForeachFunc func, ClutterModelForeachFunc func,
gpointer user_data); gpointer user_data);
void clutter_model_set_sort (ClutterModel *model, void clutter_model_set_sort (ClutterModel *model,
guint column, gint column,
ClutterModelSortFunc func, ClutterModelSortFunc func,
gpointer user_data, gpointer user_data,
GDestroyNotify notify); GDestroyNotify notify);