aboutsummaryrefslogtreecommitdiff
path: root/Sgraph.c
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-15 15:11:31 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-15 15:11:31 +0000
commite729c329324cabf53b16aeafceabd90162505c5b (patch)
treef9cab02aa0df37057f9e56f31f9f1ceb96d2cf16 /Sgraph.c
parentaf9b90da7c2c15b7edc865d6909f787d2f1be5ce (diff)
experimental
Diffstat (limited to 'Sgraph.c')
-rw-r--r--Sgraph.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/Sgraph.c b/Sgraph.c
index 3bbbc12..6ac9329 100644
--- a/Sgraph.c
+++ b/Sgraph.c
@@ -27,6 +27,7 @@ static void Realize(Widget w, XtValueMask *mask, XSetWindowAttributes *attr);
static void Action(Widget w, XEvent *event, String *params, Cardinal *num_params);
static void Resize(Widget w);
static void Redisplay(Widget w, XEvent *event, Region r);
+static Boolean SetValues(Widget old, Widget reference, Widget new, ArgList args, Cardinal *num_args);
#define BORDER 1
#define SGRAPH_WIDTH 1024
@@ -91,7 +92,7 @@ SgraphClassRec sgraphClassRec = {
NULL, /* destroy */
Resize, /* resize */
Redisplay, /* expose */
- NULL, /* set_values */
+ SetValues, /* set_values */
NULL, /* set_values_hook */
XtInheritSetValuesAlmost, /* set_values_almost */
NULL, /* get_values_hook */
@@ -221,6 +222,12 @@ Redisplay(Widget w, XEvent *event, Region r)
0, 0, width, height / 4, BORDER + n, BORDER);
}
+static Boolean
+SetValues(Widget old, Widget reference, Widget new, ArgList args, Cardinal *num_args)
+{
+ return True;
+}
+
static void
Action(Widget w, XEvent *event, String *params, Cardinal *num_params)
{