File tree Expand file tree Collapse file tree 4 files changed +16
-11
lines changed Expand file tree Collapse file tree 4 files changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ static struct {
103
103
{ NULL , "/opt/share" },
104
104
};
105
105
106
+ #define ARRAY_SIZE (x ) (sizeof(x) / sizeof((x)[0]))
107
+
106
108
void
107
109
find_themes (struct themes * themes , const char * middle , const char * end )
108
110
{
Original file line number Diff line number Diff line change 5
5
#include <strings.h>
6
6
#include <sys/stat.h>
7
7
#include "tweaks.h"
8
+ #include "xml.h"
8
9
9
10
static GtkWidget * corner_radius ;
10
11
static GtkWidget * openbox_theme_name ;
Original file line number Diff line number Diff line change @@ -12,17 +12,6 @@ struct themes {
12
12
int nr , alloc ;
13
13
};
14
14
15
- #define ARRAY_SIZE (x ) (sizeof(x) / sizeof((x)[0]))
16
-
17
15
void find_themes (struct themes * themes , const char * middle , const char * end );
18
16
19
- void xml_init (const char * filename );
20
- void xml_save (void );
21
- void xml_finish (void );
22
- void xml_set (char * nodename , char * value );
23
- void xml_set_num (char * nodename , double value );
24
- char * xml_get (char * nodename );
25
- int xml_get_int (char * nodename );
26
- int xml_get_bool_text (char * nodename );
27
-
28
17
#endif /* __TWEAKS_H */
Original file line number Diff line number Diff line change
1
+ #ifndef __XML_H
2
+ #define __XML_H
3
+
4
+ void xml_init (const char * filename );
5
+ void xml_save (void );
6
+ void xml_finish (void );
7
+ void xml_set (char * nodename , char * value );
8
+ void xml_set_num (char * nodename , double value );
9
+ char * xml_get (char * nodename );
10
+ int xml_get_int (char * nodename );
11
+ int xml_get_bool_text (char * nodename );
12
+
13
+ #endif /* __XML_H */
You can’t perform that action at this time.
0 commit comments