[perl-Gtk2/stable-1-22] 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/stable-1-22] Fix compilation against glib 2.0 by not using G_UNLIKELY
- Date: Thu, 7 Jan 2010 20:30:32 +0000 (UTC)
commit f99d52d96be6afbaf1c57d25089ce6eb99355756
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]