34#include <gdk/gdkwin32.h>
38#include <ApplicationServices/ApplicationServices.h>
39#include <Carbon/Carbon.h>
40#include <CoreServices/CoreServices.h>
43#if defined GDK_WINDOWING_X11
63#if defined GDK_WINDOWING_X11
83 64 * 1024 * 1024,
FALSE, &
type, &format, buffer_size, buffer);
86#elif defined GDK_WINDOWING_QUARTZ
111 *source =
g_strdup(
"osx color profile api");
114#elif defined G_OS_WIN32
146 *source =
g_strdup(
"windows color profile api");
struct _GtkWidget GtkWidget
GtkWidget, opaque, spelled exactly as GTK spells it.
void dt_display_profile_read(GtkWidget *widget, guint8 **buffer, gint *buffer_size, gchar **source)
_lib_location_type_t type
#define IS_NULL_PTR(p)
C is way too permissive with !=, == and if(var) checks, which can mean too many things depending on w...
#define dt_free(ptr)
g_free() ptr and set it to NULL, skipping both if it is already NULL.