summaryrefslogtreecommitdiff
path: root/gtk/gtkcombobox.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-04-01 20:53:04 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-04-01 20:53:04 +0000
commitb82af5ce89d6cb5052730d9f701f247438103790 (patch)
treec4880c0a74d554a5227026a5d1012aba4f8351c7 /gtk/gtkcombobox.h
parent6160b3ba8f1120af42016a55541882d61c4917d0 (diff)
downloadgtk+-b82af5ce89d6cb5052730d9f701f247438103790.tar.gz
Make gtk_combo_box_get_active_text do the right thing for GtkComboBoxEntry
2005-04-01 Matthias Clasen <mclasen@redhat.com> Make gtk_combo_box_get_active_text do the right thing for GtkComboBoxEntry (#171373, Robert Staudinger) * gtk/gtkcombobox.h: Add a get_active_text vfunc. * gtk/gtkcombobox.c (gtk_combo_box_real_get_active_text): And implement it here. * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text): Implement get_active_text by always returning the content of the entry.
Diffstat (limited to 'gtk/gtkcombobox.h')
-rw-r--r--gtk/gtkcombobox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkcombobox.h b/gtk/gtkcombobox.h
index 79c675837a..e8b2a46cc4 100644
--- a/gtk/gtkcombobox.h
+++ b/gtk/gtkcombobox.h
@@ -52,11 +52,13 @@ struct _GtkComboBoxClass
/* signals */
void (* changed) (GtkComboBox *combo_box);
+ /* vfuncs */
+ gchar * (* get_active_text) (GtkComboBox *combo_box);
+
/* Padding for future expansion */
void (*_gtk_reserved0) (void);
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
- void (*_gtk_reserved3) (void);
};