GNOME Bugzilla – Bug 605185
Compile error on DirectFB backend due to missing of gdk_keymap_map_virtual_modifiers
Last modified: 2010-03-25 16:03:36 UTC
Created attachment 150212 [details] [review] Adding a stub Compile error on DirectFB backend due to missing of gdk_keymap_map_virtual_modifiers
Review of attachment 150212 [details] [review]: ::: gdk/gdk.symbols @@ +869,3 @@ gdk_keymap_translate_keyboard_state gdk_keymap_lookup_key +gdk_keymap_map_virtual_modifiers This line was already added in commit 03b179c5e8311591f1487a650fec6f20a136e9ca
(In reply to comment #1) > Review of attachment 150212 [details] [review]: > > ::: gdk/gdk.symbols > @@ +869,3 @@ > gdk_keymap_translate_keyboard_state > gdk_keymap_lookup_key > +gdk_keymap_map_virtual_modifiers > > This line was already added in commit 03b179c5e8311591f1487a650fec6f20a136e9ca That was for X11 backend, not for DirectFB backend.
That part is generic, you only need to add the function in the DirectFB file. Take a look to commit 8daf770a73c53f92f0a1db1e5050bc7c63b7e8d8 for win32 backend
That part is not generic at all. I can see __GDK_KEYS_X11_C__ symbol at http://git.gnome.org/browse/gtk+/tree/gdk/gdk.symbols?id=03b179c5e8311591f1487a650fec6f20a136e9ca#n846. The definition for DirectFB is at several lines below it. And in case of win32 backend, these symbols(__GDK_XXXX_X11_C__ or __GDK_XXXX_DIRECTFB_C__) are not used at all. See gdk/Makefile.am.
Ops, yeah, you are rigth, sorry for the misunderstanding, I think the patch look good then.
Comment on attachment 150212 [details] [review] Adding a stub Wait for maintainer aproval
*** Bug 606003 has been marked as a duplicate of this bug. ***
Comment on attachment 150212 [details] [review] Adding a stub commit ffbd007c50636b0a01fbb95194800593acd67dc7
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you!.