Re: error,or bug? "GDK_dead_grave undeclared" while making gtk+-3.9.10
- From: "Martin Schlemmer" <Martin Schlemmer nwu ac za>
- To: "ninja" <baininja gmail com>
- Cc: gtk-list gnome org
- Subject: Re: error,or bug? "GDK_dead_grave undeclared" while making gtk+-3.9.10
- Date: Wed, 14 Aug 2013 17:53:13 +0200
On 8/12/2013 at 8:02 PM, "ninja" <baininja gmail com> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]