Enable the value_labels popup dialog
[pspp] / src / ui / gui / psppire-var-sheet-header.c
index 8930826aaac939bfe8c233fce78d00dac4f07581..cd2121fd8b20aa93f1d793d74c649a32a4e8f943 100644 (file)
 #include "efficient-sheet/jmd-axis-model.h"
 #include "efficient-sheet/jmd-datum.h"
 
+enum  {CHANGED,
+       n_SIGNALS};
+
+static guint signals [n_SIGNALS];
 
 static guint
 gni (GListModel *list)
@@ -110,5 +114,17 @@ psppire_var_sheet_header_init (PsppireVarSheetHeader *d)
 static void
 psppire_var_sheet_header_class_init (PsppireVarSheetHeaderClass *dc)
 {
+  GObjectClass *object_class = G_OBJECT_CLASS (dc);
+
+  /* This signal is never emitted.  It is just to satisfy the interface. */
+  signals [CHANGED] =
+    g_signal_new ("changed",
+                 G_TYPE_FROM_CLASS (object_class),
+                 G_SIGNAL_RUN_FIRST,
+                 0,
+                 NULL, NULL,
+                 g_cclosure_marshal_VOID__VOID,
+                 G_TYPE_NONE,
+                 0);
 }