[gtksourceview] Completion: fix use of G_UNLIKELY



commit 6077d3ef1087c7cbe54d33cb159fd91be2d3125f
Author: SÃbastien Wilmet <swilmet gnome org>
Date:   Sun Feb 17 15:32:19 2013 +0100

    Completion: fix use of G_UNLIKELY

 gtksourceview/gtksourcecompletion.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index a60f772..8aa5efd 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -3028,7 +3028,7 @@ gtk_source_completion_error_quark (void)
 {
        static GQuark quark = 0;
 
-       if (G_UNLIKELY (quark) == 0)
+       if (G_UNLIKELY (quark == 0))
        {
                quark = g_quark_from_static_string ("gtk-source-completion-error-quark");
        }


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