[perl-Gtk2] Fix compilation against glib 2.0 by not using G_UNLIKELY



commit 0b74e6df454bf13b305eb125adae436db5a0883d
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Thu Dec 17 21:35:34 2009 +0100

    Fix compilation against glib 2.0 by not using G_UNLIKELY

 xs/GtkGC.xs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xs/GtkGC.xs b/xs/GtkGC.xs
index cfcefe3..2a7b67c 100644
--- a/xs/GtkGC.xs
+++ b/xs/GtkGC.xs
@@ -15,7 +15,7 @@ release_count_quark (void)
 {
 	static GQuark q = 0;
 
-	if (G_UNLIKELY (!q))
+	if (!q)
 		q = g_quark_from_static_string ("gtk2perl_gc_release_count");
 
 	return q;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]