[gtk+] Fix compilation warning: Use G_GNUC_UNUSED macro
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Fix compilation warning: Use G_GNUC_UNUSED macro
- Date: Mon, 9 Nov 2009 20:58:39 +0000 (UTC)
commit 21f6e1841ae1546cf109ed83ff0fbb705212b29d
Author: Javier Jardón <jjardon gnome org>
Date: Mon Nov 9 21:48:25 2009 +0100
Fix compilation warning: Use G_GNUC_UNUSED macro
add_builtin_module() is only used into #define block of code
gtk/gtkimmodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkimmodule.c b/gtk/gtkimmodule.c
index 49eb2ab..97967d4 100644
--- a/gtk/gtkimmodule.c
+++ b/gtk/gtkimmodule.c
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]