[perl-Gtk2] Fix compilation against glib 2.0 by not using G_UNLIKELY
- From: Torsten Schönfeld <tsch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [perl-Gtk2] Fix compilation against glib 2.0 by not using G_UNLIKELY
- Date: Thu, 17 Dec 2009 20:38:16 +0000 (UTC)
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]