+2005-07-20 Tor Lillqvist <tml@novell.com>
+
+ * glib/gutils.h (g_win32_get_system_data_dirs): Make this an
+ inline function. Define it only if G_CAN_INLINE and not
+ C++. (#173098)
+
2005-07-19 Matthias Clasen <mclasen@redhat.com>
* glib/gstring.c (g_string_chunk_insert_len): Avoid
+2005-07-20 Tor Lillqvist <tml@novell.com>
+
+ * glib/gutils.h (g_win32_get_system_data_dirs): Make this an
+ inline function. Define it only if G_CAN_INLINE and not
+ C++. (#173098)
+
2005-07-19 Matthias Clasen <mclasen@redhat.com>
* glib/gstring.c (g_string_chunk_insert_len): Avoid
+2005-07-20 Tor Lillqvist <tml@novell.com>
+
+ * glib/gutils.h (g_win32_get_system_data_dirs): Make this an
+ inline function. Define it only if G_CAN_INLINE and not
+ C++. (#173098)
+
2005-07-19 Matthias Clasen <mclasen@redhat.com>
* glib/gstring.c (g_string_chunk_insert_len): Avoid
+2005-07-20 Tor Lillqvist <tml@novell.com>
+
+ * glib/gutils.h (g_win32_get_system_data_dirs): Make this an
+ inline function. Define it only if G_CAN_INLINE and not
+ C++. (#173098)
+
2005-07-19 Matthias Clasen <mclasen@redhat.com>
* glib/gstring.c (g_string_chunk_insert_len): Avoid
#ifdef G_OS_WIN32
G_CONST_RETURN gchar* G_CONST_RETURN * g_win32_get_system_data_dirs_for_module (gconstpointer address);
-static G_CONST_RETURN gchar * G_CONST_RETURN *
+#endif
+
+#if defined (G_OS_WIN32) && defined (G_CAN_INLINE) && !defined (__cplusplus)
+static inline G_CONST_RETURN gchar * G_CONST_RETURN *
g_win32_get_system_data_dirs (void)
{
return g_win32_get_system_data_dirs_for_module ((gconstpointer) &g_win32_get_system_data_dirs);