diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-07-30 20:55:17 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-07-30 20:55:17 +0000 |
commit | 1f93c4359cee608ffd2914ae6ff6c5635bdce737 (patch) | |
tree | 0830f9be3f9e24839390406c15f4b2e3ca94e88f /gtk/gtkcombobox.h | |
parent | 9b7e23e9f6f1e89dd669e0ab145c4ce87b8becc2 (diff) | |
download | gtk+-1f93c4359cee608ffd2914ae6ff6c5635bdce737.tar.gz |
Change the api for separators to use a separator function instead of a
2004-07-30 Matthias Clasen <mclasen@redhat.com>
* 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.
Diffstat (limited to 'gtk/gtkcombobox.h')
-rw-r--r-- | gtk/gtkcombobox.h | 8 |
1 files changed, 5 insertions, 3 deletions
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); |