diff options
-rw-r--r-- | gtk/src/callbacks.c | 4 | ||||
-rw-r--r-- | gtk/src/callbacks.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index 6e494f26e..3b9edea12 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -410,7 +410,7 @@ get_dvd_device_name(GDrive *gd) #endif static GHashTable *volname_hash = NULL; -#if GTK_CHECK_VERSION(2, 32, 0) +#if GLIB_CHECK_VERSION(2, 32, 0) static GMutex volname_mutex_static; #endif static GMutex *volname_mutex; @@ -488,7 +488,7 @@ get_dvd_volume_name(gpointer gd) void ghb_volname_cache_init(void) { -#if GTK_CHECK_VERSION(2, 32, 0) +#if GLIB_CHECK_VERSION(2, 32, 0) g_mutex_init(&volname_mutex_static); volname_mutex = &volname_mutex_static; #else diff --git a/gtk/src/callbacks.h b/gtk/src/callbacks.h index 3a22b4c2c..83ece43ba 100644 --- a/gtk/src/callbacks.h +++ b/gtk/src/callbacks.h @@ -32,7 +32,7 @@ #include <gtk/gtk.h> #include "settings.h" -#if GTK_CHECK_VERSION(2, 32, 0) +#if GLIB_CHECK_VERSION(2, 32, 0) #define GHB_THREAD_NEW(n, f, p) \ g_thread_new(n, (GThreadFunc)(f), (p)) #else |