]> Pileus Git - ~andy/gtk/commitdiff
Fix compilation warning: Use G_GNUC_UNUSED macro
authorJavier Jardón <jjardon@gnome.org>
Mon, 9 Nov 2009 20:48:25 +0000 (21:48 +0100)
committerJavier Jardón <jjardon@gnome.org>
Mon, 9 Nov 2009 20:49:47 +0000 (21:49 +0100)
add_builtin_module() is only used into #define block of code

gtk/gtkimmodule.c

index 49eb2abc00ed89f14fe0420b7fbe6db1c5967892..97967d45feed48abee28c09c82ddb295188c0d5a 100644 (file)
@@ -279,7 +279,7 @@ correct_localedir_prefix (gchar **path)
 #endif
 
 
-static GtkIMModule *
+G_GNUC_UNUSED static GtkIMModule *
 add_builtin_module (const gchar             *module_name,
                    const GtkIMContextInfo **contexts,
                    int                      n_contexts)