Skip to content

Commit

Permalink
Remove xrepaint_noclear
Browse files Browse the repository at this point in the history
Remove the now obsolete function.
  • Loading branch information
donald committed Mar 22, 2019
1 parent 6f36cbc commit 57e45bf
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions xwin.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ extern int xsetup();
extern int xmainloop();
extern void xclear();
extern void xrepaint();
extern void xrepaint_noclear();
extern void xdrawrect();

/*
Expand Down Expand Up @@ -334,6 +333,7 @@ a_removehelp(Widget w, XEvent* event, String* params, Cardinal* num_params)
* callback routines
*/

static void setRepaintWhenIdle();

static void
c_repaint(Widget w, XtPointer data, XEvent* event, Boolean* continue_to_dispatch)
Expand Down Expand Up @@ -498,14 +498,6 @@ void xrepaint()
repaint(xwa.width, xwa.height);
}

void xrepaint_noclear()
{
XWindowAttributes xwa;

XGetWindowAttributes(dpy, win, &xwa);
repaint(xwa.width, xwa.height);
}

void readable_float(float number, char* number_label)
{
char number_string[1024];
Expand Down

0 comments on commit 57e45bf

Please sign in to comment.