From 590b125ffc30df4aba5e98da6aaa483dedd44633 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 20 Dec 2011 14:15:41 +0100 Subject: win32: Export _gtk_win32_lookup_htheme_by_classname() --- gtk/gtkwin32themeprivate.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gtk/gtkwin32themeprivate.h') diff --git a/gtk/gtkwin32themeprivate.h b/gtk/gtkwin32themeprivate.h index 25349d2e37..575f829414 100644 --- a/gtk/gtkwin32themeprivate.h +++ b/gtk/gtkwin32themeprivate.h @@ -24,6 +24,18 @@ #include "gtkcssparserprivate.h" +#ifdef G_OS_WIN32 + +#include + +typedef HANDLE HTHEME; + +#else /* !G_OS_WIN32 */ + +typedef void * HTHEME; + +#endif /* G_OS_WIN32 */ + G_BEGIN_DECLS #define GTK_WIN32_THEME_SYMBOLIC_COLOR_NAME "-gtk-win32-color" @@ -32,6 +44,8 @@ typedef struct _GtkWin32ThemePart GtkWin32ThemePart; #define GTK_TYPE_WIN32_THEME_PART (_gtk_win32_theme_part_get_type ()) +HTHEME _gtk_win32_lookup_htheme_by_classname (const char *classname); + GType _gtk_win32_theme_part_get_type (void) G_GNUC_CONST; GtkWin32ThemePart *_gtk_win32_theme_part_ref (GtkWin32ThemePart *part); -- cgit v1.2.1