[giggle] [libgiggle] Improve performance: Use G_GNUC_CONST



commit 6d8aee8e3738e2617c76a249f9423c4f3579369f
Author: Javier Jardón <jjardon gnome org>
Date:   Sun Apr 4 17:14:51 2010 +0200

    [libgiggle] Improve performance: Use G_GNUC_CONST
    
    Use G_GNUC_CONST in giggle_ref_get_type() function

 libgiggle/giggle-ref.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgiggle/giggle-ref.h b/libgiggle/giggle-ref.h
index a278100..02b0562 100644
--- a/libgiggle/giggle-ref.h
+++ b/libgiggle/giggle-ref.h
@@ -46,7 +46,7 @@ struct _GiggleRefClass {
 	GObjectClass parent_class;
 };
 
-GType                   giggle_ref_get_type          (void);
+GType                   giggle_ref_get_type          (void) G_GNUC_CONST;
 GiggleRef             * giggle_ref_new               (const gchar *name);
 
 G_CONST_RETURN gchar  * giggle_ref_get_name          (GiggleRef   *ref);



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