From abb517d43f2d80b030fed462107bbfa67385673f Mon Sep 17 00:00:00 2001 From: jstebbins Date: Thu, 7 Mar 2013 20:51:25 +0000 Subject: LinGui: fix incorrect glib version check macros git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5307 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/callbacks.c | 4 ++-- gtk/src/callbacks.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk/src') 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 #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 -- cgit v1.2.3