Re: error,or bug? "GDK_dead_grave undeclared" while making gtk+-3.9.10

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

 



>>> On 8/12/2013 at  8:02 PM, "ninja" <baininja@xxxxxxxxx> wrote:
> I then checked the source and find in gdk/gdkkeysyms.h,these "GDK_dead_grave
> " stuff(If I didn't get it wrong) 
> 
> are actually like this:"GDK_KEY_dead_grave".Guess a "KEY_" is missing.
> 
> There is a macro,where the shell said errors.
> 
> #define CASE(keysym, unicode, spacing_unicode) \
> 
>       case GDK_dead_##keysym: return (spacing) ? spacing_unicode : unicode;
> 
> I add "KEY_" so it becomes
> 
> #define CASE(keysym, unicode, spacing_unicode) \
> 
>       case GDK_KEY_dead_##keysym: return (spacing) ? spacing_unicode :
> unicode;
> 
> another macro at line 53 seems to be the same:
> 
> #define IS_DEAD_KEY(k) \
> 
> ((k) >= GDK _dead_grave && (k) <= (GDK_dead_dasia+1))
> 
> I think the compiler's gonna complain GDK_dead_grave 's undeclared too..
> 
> So it is right?Hope you can tell me.
> 

Check this bug (attachment #250515):

https://bugzilla.gnome.org/show_bug.cgi?id=705068

The relevant bit is this:

-------------------------
--- a/modules/input/gtkimcontextime.c
+++ b/modules/input/gtkimcontextime.c
@@ -31,7 +31,7 @@
 
 #include "imm-extra.h"
 
-#include <gdk/gdkkeysyms.h>
+#include "gdk/gdkkeysyms-compat.h"
 #include "gdk/win32/gdkwin32.h"
 #include "gdk/gdkkeysyms.h"
 
-------------------------


Regards,
Martin




Vrywaringsklousule / Disclaimer:  http://www.nwu.ac.za/it/gov-man/disclaimer.html 

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux