X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-value-entry.h;h=940de30b27cbc0bc8f632b7a9195ec425c0e34ef;hb=26bad54c73bdb354262a2434de93e632a286b0d3;hp=42821f385fa66e282ab28d67f81248ecc00c6589;hpb=69f0036106f8f7caa83fb24b0385ba875afb36cd;p=pspp diff --git a/src/ui/gui/psppire-value-entry.h b/src/ui/gui/psppire-value-entry.h index 42821f385f..940de30b27 100644 --- a/src/ui/gui/psppire-value-entry.h +++ b/src/ui/gui/psppire-value-entry.h @@ -20,7 +20,7 @@ #include #include "data/format.h" -/* PsppireValueEntry is a subclass of GtkComboBoxEntry that is specialized for +/* PsppireValueEntry is a subclass of GtkComboBox that is specialized for displaying and entering "union value"s. Its main advantage over a plain GtkEntry is that, when value labels are supplied, it (optionally) displays the value label instead of the value. It also allows the user to choose a @@ -50,8 +50,9 @@ struct variable; typedef struct _PsppireValueEntry PsppireValueEntry; typedef struct _PsppireValueEntryClass PsppireValueEntryClass; -struct _PsppireValueEntry { - GtkComboBoxEntry parent; +struct _PsppireValueEntry +{ + GtkComboBox parent; gboolean show_value_label; @@ -62,11 +63,12 @@ struct _PsppireValueEntry { const union value *cur_value; }; -struct _PsppireValueEntryClass { - GtkComboBoxEntryClass parent_class; +struct _PsppireValueEntryClass +{ + GtkComboBoxClass parent_class; }; -GType psppire_value_entry_get_type (void) G_GNUC_CONST; +GType psppire_value_entry_get_type (void); GtkWidget *psppire_value_entry_new (void); void psppire_value_entry_set_show_value_label (PsppireValueEntry *,