X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-var-sheet-header.c;h=cd2121fd8b20aa93f1d793d74c649a32a4e8f943;hb=7d4150d7cba15550753a0a574685de26656c0633;hp=8930826aaac939bfe8c233fce78d00dac4f07581;hpb=978053dda1b3dd918e0a814cb5bd282cd2d3774c;p=pspp diff --git a/src/ui/gui/psppire-var-sheet-header.c b/src/ui/gui/psppire-var-sheet-header.c index 8930826aaa..cd2121fd8b 100644 --- a/src/ui/gui/psppire-var-sheet-header.c +++ b/src/ui/gui/psppire-var-sheet-header.c @@ -24,6 +24,10 @@ #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); }