X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dict.h;h=534f0707ea22df8bc6084a1d8193c917d4ae0e0a;hb=b02111c7f12e9b974d5b456ee2ce516a72673861;hp=397097bf65159f023c20de5f5dc0d003d6345d70;hpb=f514231dd2fc0c2adc1ebab5c46a4b55d2bd9c2b;p=pspp-builds.git diff --git a/src/ui/gui/psppire-dict.h b/src/ui/gui/psppire-dict.h index 397097bf..534f0707 100644 --- a/src/ui/gui/psppire-dict.h +++ b/src/ui/gui/psppire-dict.h @@ -38,7 +38,6 @@ G_BEGIN_DECLS #define PSPPIRE_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), G_TYPE_PSPPIRE_DICT, PsppireDictClass)) - /* --- typedefs & structures --- */ typedef struct _PsppireDict PsppireDict; typedef struct _PsppireDictClass PsppireDictClass; @@ -50,6 +49,7 @@ struct _PsppireDict GObject parent; struct dictionary *dict; + gboolean disable_insert_signal; /* For GtkTreeModelIface */ gint stamp; }; @@ -69,6 +69,9 @@ void psppire_dict_delete_var (PsppireDict *s, gint idx); /* Return the number of variables in the dictionary */ gint psppire_dict_get_var_cnt (const PsppireDict *d); +/* Return the number of `union value's in the dictionary */ +size_t psppire_dict_get_value_cnt (const PsppireDict *d); + /* Return a variable by name. Return NULL if it doesn't exist */