Merge branch 'reftest.msvc.fix' into 'gtk-3-24'
reftests: Fix building on Visual Studio See merge request GNOME/gtk!1203
This commit is contained in:
@ -21,7 +21,10 @@
|
|||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* reftest-snapshot.c */
|
/* reftest-snapshot.c */
|
||||||
|
G_MODULE_EXPORT
|
||||||
void reftest_inhibit_snapshot (void);
|
void reftest_inhibit_snapshot (void);
|
||||||
|
|
||||||
|
G_MODULE_EXPORT
|
||||||
void reftest_uninhibit_snapshot (void);
|
void reftest_uninhibit_snapshot (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
G_MODULE_EXPORT
|
||||||
cairo_surface_t * reftest_compare_surfaces (cairo_surface_t *surface1,
|
cairo_surface_t * reftest_compare_surfaces (cairo_surface_t *surface1,
|
||||||
cairo_surface_t *surface2);
|
cairo_surface_t *surface2);
|
||||||
|
|
||||||
|
@ -24,13 +24,19 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
typedef struct _ReftestModule ReftestModule;
|
typedef struct _ReftestModule ReftestModule;
|
||||||
|
|
||||||
|
G_MODULE_EXPORT
|
||||||
ReftestModule * reftest_module_new (const char *directory,
|
ReftestModule * reftest_module_new (const char *directory,
|
||||||
const char *module_name);
|
const char *module_name);
|
||||||
|
G_MODULE_EXPORT
|
||||||
ReftestModule * reftest_module_new_self (void);
|
ReftestModule * reftest_module_new_self (void);
|
||||||
|
|
||||||
|
G_MODULE_EXPORT
|
||||||
ReftestModule * reftest_module_ref (ReftestModule *module);
|
ReftestModule * reftest_module_ref (ReftestModule *module);
|
||||||
|
|
||||||
|
G_MODULE_EXPORT
|
||||||
void reftest_module_unref (ReftestModule *module);
|
void reftest_module_unref (ReftestModule *module);
|
||||||
|
|
||||||
|
G_MODULE_EXPORT
|
||||||
GCallback reftest_module_lookup (ReftestModule *module,
|
GCallback reftest_module_lookup (ReftestModule *module,
|
||||||
const char *function_name);
|
const char *function_name);
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "reftest-snapshot.h"
|
#include "reftest-snapshot.h"
|
||||||
|
|
||||||
#include "reftest-module.h"
|
#include "reftest-module.h"
|
||||||
|
#include "gtk-reftest.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
G_MODULE_EXPORT
|
||||||
cairo_surface_t * reftest_snapshot_ui_file (const char *ui_file);
|
cairo_surface_t * reftest_snapshot_ui_file (const char *ui_file);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
Reference in New Issue
Block a user