Verified Commit a3644317 authored by Zander Brown's avatar Zander Brown 🇬🇧
Browse files

win32: try to have quieter builds

parent 4bd92e9d
Pipeline #279164 passed with stage
in 7 minutes and 43 seconds
......@@ -26,10 +26,8 @@
static GdkColormap *colormap = NULL;
#ifndef G_OS_WIN32
Color color_black = { 0.0f, 0.0f, 0.0f, 1.0f };
Color color_white = { 1.0f, 1.0f, 1.0f, 1.0f };
#endif
gboolean _color_initialized = FALSE;
......
......@@ -56,13 +56,8 @@ void color_convert (const Color *color,
gboolean color_equals (const Color *color1,
const Color *color2);
#ifdef G_OS_WIN32
static Color color_black = { 0.0f, 0.0f, 0.0f, 1.0f };
static Color color_white = { 1.0f, 1.0f, 1.0f, 1.0f };
#else
extern DIAVAR Color color_black;
extern DIAVAR Color color_white;
#endif
extern Color color_black;
extern Color color_white;
#define DIA_COLOR_TO_GDK(from, to) \
(to).pixel = 0; \
......
......@@ -831,6 +831,7 @@ EXPORTS
text_set_font
text_set_height
text_set_position
dia_text_get_position
text_set_string
text_line_new
......@@ -893,3 +894,7 @@ EXPORTS
cairo_export_data
cairo_print_callback
dia_cairo_renderer_get_type
color_black
color_white
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment