]> granicus.if.org Git - handbrake/commitdiff
LinGui: fix incorrect glib version check macros
authorjstebbins <jstebbins.hb@gmail.com>
Thu, 7 Mar 2013 20:51:25 +0000 (20:51 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Thu, 7 Mar 2013 20:51:25 +0000 (20:51 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5307 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/callbacks.c
gtk/src/callbacks.h

index 6e494f26e70456fd4bcb9f3975ea52f21145aba8..3b9edea127c112cd2d0309699c6921642d968a65 100644 (file)
@@ -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
index 3a22b4c2c9abc4b7e818e593f2a6e46f080e82ff..83ece43ba9602ea2f679f64ffa1e7c51db4e3f6b 100644 (file)
@@ -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