mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-02 06:05:45 +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:
committed by
Carlos R. Mafra
parent
5d03c455fc
commit
eb14bca73b
@@ -36,7 +36,6 @@ WPrefs_SOURCES = \
|
||||
WindowHandling.c \
|
||||
Workspace.c \
|
||||
double.c \
|
||||
double.h \
|
||||
editmenu.c \
|
||||
editmenu.h \
|
||||
xmodifier.c
|
||||
|
||||
@@ -28,8 +28,6 @@
|
||||
#include <unistd.h>
|
||||
#include <math.h>
|
||||
|
||||
/* double-click tester */
|
||||
#include "double.h"
|
||||
|
||||
#define XSET "xset"
|
||||
|
||||
|
||||
@@ -111,6 +111,12 @@ void SetBoolForKey(Bool value, 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 ] --------------------------------------------------------- */
|
||||
void AddDeadChildHandler(pid_t pid, void (*handler)(void*), void *data);
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
*/
|
||||
|
||||
#include <WINGs/WINGsP.h>
|
||||
#include "WPrefs.h"
|
||||
|
||||
#include "double.h"
|
||||
|
||||
typedef struct W_DoubleTest {
|
||||
W_Class widgetClass;
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
|
||||
typedef struct W_DoubleTest DoubleTest;
|
||||
|
||||
|
||||
DoubleTest *CreateDoubleTest(WMWidget *parent, char *text);
|
||||
|
||||
Reference in New Issue
Block a user