summaryrefslogtreecommitdiff
path: root/gtk/gtkbindings.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-01-30 22:51:21 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-01-30 23:35:25 -0500
commit175c57ebd7d1f31aba855b8af491859f9203fa78 (patch)
tree4d12b136435acebb6a4be9f98adc9e93a1a331fd /gtk/gtkbindings.h
parentf67ab808fd91a2ce27b8b2a21761c756bae09c60 (diff)
downloadgtk+-175c57ebd7d1f31aba855b8af491859f9203fa78.tar.gz
Small optimization
We can use the fact that all involved strings are interned; also deprecate gtk_binding_set_add_path() in the headers, too.
Diffstat (limited to 'gtk/gtkbindings.h')
-rw-r--r--gtk/gtkbindings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkbindings.h b/gtk/gtkbindings.h
index 22da3b399e..2c2e3acda6 100644
--- a/gtk/gtkbindings.h
+++ b/gtk/gtkbindings.h
@@ -180,10 +180,12 @@ void gtk_binding_entry_remove (GtkBindingSet *binding_set,
guint keyval,
GdkModifierType modifiers);
+#ifndef GTK_DISABLE_DEPRECATED
void gtk_binding_set_add_path (GtkBindingSet *binding_set,
GtkPathType path_type,
const gchar *path_pattern,
GtkPathPriorityType priority);
+#endif
G_END_DECLS