blob: 2ad46d27ae38c513f8ace13d7583ca3ac36d82e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
diff --git a/src/iop/watermark.c b/src/iop/watermark.c
index bcd65d6..e3da730 100644
--- a/src/iop/watermark.c
+++ b/src/iop/watermark.c
@@ -36,7 +36,10 @@
#include <inttypes.h>
#include <librsvg/rsvg.h>
+// ugh, ugly hack. why do people break stuff all the time?
+#ifndef RSVG_CAIRO_H
#include <librsvg/rsvg-cairo.h>
+#endif
#include "common/metadata.h"
#include "common/utility.h"
@@ -712,7 +715,7 @@ static void refresh_watermarks( dt_iop_module_t *self )
snprintf(filename, DT_MAX_PATH_LEN, "%s/%s", configdir, d_name);
gtk_combo_box_append_text( g->combobox1, d_name );
count++;
- }
+ }
g_dir_close(dir) ;
}
|