From 1f93c4359cee608ffd2914ae6ff6c5635bdce737 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 30 Jul 2004 20:55:17 +0000 Subject: Change the api for separators to use a separator function instead of a 2004-07-30 Matthias Clasen * gtk/gtkcombobox.h: * gtk/gtkcombobox.c: Change the api for separators to use a separator function instead of a boolean column. * tests/testcombo.c: Update to match the api change. --- gtk/gtkcombobox.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gtk/gtkcombobox.h') diff --git a/gtk/gtkcombobox.h b/gtk/gtkcombobox.h index bdbd38b80d..79aea584c3 100644 --- a/gtk/gtkcombobox.h +++ b/gtk/gtkcombobox.h @@ -94,9 +94,11 @@ void gtk_combo_box_set_model (GtkComboBox *combo_box, GtkTreeModel *model); GtkTreeModel *gtk_combo_box_get_model (GtkComboBox *combo_box); -void gtk_combo_box_set_row_separator_column (GtkComboBox *combo_box, - gint column); -gint gtk_combo_box_get_row_separator_column (GtkComboBox *combo_box); +GtkTreeViewRowSeparatorFunc gtk_combo_box_get_row_separator_func (GtkComboBox *combo_box); +void gtk_combo_box_set_row_separator_func (GtkComboBox *combo_box, + GtkTreeViewRowSeparatorFunc func, + gpointer data, + GtkDestroyNotify destroy); /* convenience -- text */ GtkWidget *gtk_combo_box_new_text (void); -- cgit v1.2.1