1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-01 19:42:32 +01:00

WPrefs: Moved content of 'double.h' into 'WPrefs.h'

It is not a good idea to multiply the number of header files,
specially in this case where 'double.h' defined so few things
(and lacked the usual copyright notice / include guards).
This commit is contained in:
Christophe CURIS
2013-05-12 00:24:38 +02:00
committed by Carlos R. Mafra
parent 5d03c455fc
commit eb14bca73b
5 changed files with 7 additions and 10 deletions

View File

@@ -36,7 +36,6 @@ WPrefs_SOURCES = \
WindowHandling.c \ WindowHandling.c \
Workspace.c \ Workspace.c \
double.c \ double.c \
double.h \
editmenu.c \ editmenu.c \
editmenu.h \ editmenu.h \
xmodifier.c xmodifier.c

View File

@@ -28,8 +28,6 @@
#include <unistd.h> #include <unistd.h>
#include <math.h> #include <math.h>
/* double-click tester */
#include "double.h"
#define XSET "xset" #define XSET "xset"

View File

@@ -111,6 +111,12 @@ void SetBoolForKey(Bool value, const char *defaultName);
void SetSpeedForKey(int speed, const char *defaultName); void SetSpeedForKey(int speed, const char *defaultName);
/* ---[ double.c ] ------------------------------------------------------- */
typedef struct W_DoubleTest DoubleTest;
DoubleTest *CreateDoubleTest(WMWidget *parent, char *text);
/* ---[ main.c ] --------------------------------------------------------- */ /* ---[ main.c ] --------------------------------------------------------- */
void AddDeadChildHandler(pid_t pid, void (*handler)(void*), void *data); void AddDeadChildHandler(pid_t pid, void (*handler)(void*), void *data);

View File

@@ -5,8 +5,8 @@
*/ */
#include <WINGs/WINGsP.h> #include <WINGs/WINGsP.h>
#include "WPrefs.h"
#include "double.h"
typedef struct W_DoubleTest { typedef struct W_DoubleTest {
W_Class widgetClass; W_Class widgetClass;

View File

@@ -1,6 +0,0 @@
typedef struct W_DoubleTest DoubleTest;
DoubleTest *CreateDoubleTest(WMWidget *parent, char *text);