summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-05 16:50:49 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-06 05:23:42 +0100
commitfc37e2749cfa7c11e72dd9f253ab5c8aa9b1af2c (patch)
treeffa5e977f54e6a3f563f99199951e8c95ebbcba2 /gtk/gtkmain.h
parent0c8ecba7dc024aa090fee7894bf33912303f6838 (diff)
downloadgtk+-fc37e2749cfa7c11e72dd9f253ab5c8aa9b1af2c.tar.gz
API: Deprecate key snooping
You really shouldn't be doing this. If you have to, you can use gdk_window_add_filter() or listen to raw events on XI2.
Diffstat (limited to 'gtk/gtkmain.h')
-rw-r--r--gtk/gtkmain.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h
index 99ce6d45ab..f6381383fa 100644
--- a/gtk/gtkmain.h
+++ b/gtk/gtkmain.h
@@ -152,8 +152,10 @@ void gtk_device_grab_add (GtkWidget *widget,
void gtk_device_grab_remove (GtkWidget *widget,
GdkDevice *device);
+G_GNUC_DEPRECATED
guint gtk_key_snooper_install (GtkKeySnoopFunc snooper,
gpointer func_data);
+G_GNUC_DEPRECATED
void gtk_key_snooper_remove (guint snooper_handler_id);
GdkEvent * gtk_get_current_event (void);