diff options
author | jstebbins <[email protected]> | 2013-03-07 20:51:25 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2013-03-07 20:51:25 +0000 |
commit | abb517d43f2d80b030fed462107bbfa67385673f (patch) | |
tree | 51ff5e5011be886823aac61e0d7107726e6985f5 | |
parent | 4ff95a7b1eac44a1577010e1cf3eaf8fa89c679d (diff) |
LinGui: fix incorrect glib version check macros
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5307 b64f7644-9d1e-0410-96f1-a4d463321fa5
-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 |