+static void
+resize_cb (struct dictionary *d, int idx, int old_width, void *pd)
+{
+ g_signal_emit (pd, signals [VARIABLE_RESIZED], 0, idx, old_width);
+}
+
+static void
+weight_changed_callback (struct dictionary *d, int idx, void *pd)
+{
+ g_signal_emit (pd, signals [WEIGHT_CHANGED], 0, idx);
+}
+
+static void
+filter_changed_callback (struct dictionary *d, int idx, void *pd)
+{
+ g_signal_emit (pd, signals [FILTER_CHANGED], 0, idx);
+}
+
+static void
+split_changed_callback (struct dictionary *d, void *pd)
+{
+ g_signal_emit (pd, signals [SPLIT_CHANGED], 0);
+}
+
+static void
+variable_display_width_callback (struct dictionary *d, int idx, void *pd)
+{
+ g_signal_emit (pd, signals [VARIABLE_DISPLAY_WIDTH_CHANGED], 0, idx);
+}
+
+
+
+static const struct dict_callbacks gui_callbacks =
+ {
+ addcb,
+ delcb,
+ mutcb,
+ resize_cb,
+ weight_changed_callback,
+ filter_changed_callback,
+ split_changed_callback,
+ variable_display_width_callback
+ };
+
+static void
+psppire_dict_init (PsppireDict *psppire_dict)
+{
+ psppire_dict->stamp = g_random_int ();
+ psppire_dict->disable_insert_signal = FALSE;
+}