From: John Darrington Date: Mon, 23 Apr 2012 18:34:57 +0000 (+0200) Subject: PsppireValueEntry: Remove GNU_CONST declaration because it prevents the type being... X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=68c240dce0af5c0733a143fa3db3ccb2fb79ea3e PsppireValueEntry: Remove GNU_CONST declaration because it prevents the type being found by GtkBuilder --- diff --git a/src/ui/gui/psppire-value-entry.h b/src/ui/gui/psppire-value-entry.h index 42821f385f..d17d5ad1ea 100644 --- a/src/ui/gui/psppire-value-entry.h +++ b/src/ui/gui/psppire-value-entry.h @@ -50,7 +50,8 @@ struct variable; typedef struct _PsppireValueEntry PsppireValueEntry; typedef struct _PsppireValueEntryClass PsppireValueEntryClass; -struct _PsppireValueEntry { +struct _PsppireValueEntry +{ GtkComboBoxEntry parent; gboolean show_value_label; @@ -62,11 +63,12 @@ struct _PsppireValueEntry { const union value *cur_value; }; -struct _PsppireValueEntryClass { +struct _PsppireValueEntryClass +{ GtkComboBoxEntryClass 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 *,