[anjuta] class-gen: Guess param spec correctly.



commit 9b877124924400f8420b973fda3945835469de87
Author: Johannes Schmid <jhs gnome org>
Date:   Mon Feb 13 21:41:41 2012 +0100

    class-gen: Guess param spec correctly.
    
    Use _N() on both strings before comparing them, otherwise it won't work.

 plugins/class-gen/window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/class-gen/window.c b/plugins/class-gen/window.c
index 5c19326..4703918 100644
--- a/plugins/class-gen/window.c
+++ b/plugins/class-gen/window.c
@@ -932,7 +932,7 @@ cg_window_go_properties_transform_func (GHashTable *table,
 	cg_transform_string (table, "Blurb");
 
 	cg_transform_guess_paramspec (table, "ParamSpec",
-	                              "Type", _(GO_PARAMSPEC_LIST[0]));
+	                              "Type", N_(GO_PARAMSPEC_LIST[0]));
 
 	cg_transform_flags (table, "Flags", GO_PROPERTY_FLAGS);
 



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