From 68c240dce0af5c0733a143fa3db3ccb2fb79ea3e Mon Sep 17 00:00:00 2001 From: John Darrington Date: Mon, 23 Apr 2012 20:34:57 +0200 Subject: [PATCH] PsppireValueEntry: Remove GNU_CONST declaration because it prevents the type being found by GtkBuilder --- src/ui/gui/psppire-value-entry.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 *, -- 2.30.2