Change the API of the keygrabber so only one gdk_sync is neccessary. (ticket #7999)

This commit is contained in:
Benjamin Berg
2008-08-24 14:31:46 +02:00
parent a73cbc351d
commit 3d3e453157
4 changed files with 73 additions and 21 deletions
+2 -2
View File
@@ -55,8 +55,8 @@ struct _SugarKeyGrabberClass {
};
GType sugar_key_grabber_get_type (void);
void sugar_key_grabber_grab (SugarKeyGrabber *grabber,
const char *key);
void sugar_key_grabber_grab_keys (SugarKeyGrabber *grabber,
const char **keys);
char *sugar_key_grabber_get_key (SugarKeyGrabber *grabber,
guint keycode,
guint state);