[gtk+/gtk-2-90: 2/146] Remove deprecated gtk_binding_entry functions
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 2/146] Remove deprecated gtk_binding_entry functions
- Date: Wed, 9 Dec 2009 07:35:08 +0000 (UTC)
commit fbdc0b5139ed88e2bd4eb5442469647f36913e6d
Author: Christian Dywan <christian twotoasts de>
Date: Wed Oct 7 17:37:19 2009 +0200
Remove deprecated gtk_binding_entry functions
gtk/gtkbindings.c | 47 -----------------------------------------------
gtk/gtkbindings.h | 8 --------
2 files changed, 0 insertions(+), 55 deletions(-)
---
diff --git a/gtk/gtkbindings.c b/gtk/gtkbindings.c
index 0d2e832..6bdee86 100644
--- a/gtk/gtkbindings.c
+++ b/gtk/gtkbindings.c
@@ -707,37 +707,6 @@ gtk_binding_entry_clear_internal (GtkBindingSet *binding_set,
}
/**
- * gtk_binding_entry_add:
- * @binding_set: #a GtkBindingSet to clear an entry of
- * @keyval: key value of binding to clear
- * @modifiers: key modifier of binding to clear
- *
- * Adds a binding entry.
- *
- * Deprecated: 2.12: Use gtk_binding_entry_add_signal() instead.
- */
-
-/**
- * gtk_binding_entry_clear:
- * @binding_set: binding set to clear an entry of
- * @keyval: key value of binding to clear
- * @modifiers: key modifier of binding to clear
- *
- * Clears a binding entry.
- *
- * Deprecated: 2.12: Use gtk_binding_entry_remove() instead.
- */
-void
-gtk_binding_entry_clear (GtkBindingSet *binding_set,
- guint keyval,
- GdkModifierType modifiers)
-{
- g_return_if_fail (binding_set != NULL);
-
- gtk_binding_entry_clear_internal (binding_set, keyval, modifiers);
-}
-
-/**
* gtk_binding_entry_skip:
* @binding_set: a #GtkBindingSet to skip an entry of
* @keyval: key value of binding to skip
@@ -1586,22 +1555,6 @@ gtk_binding_parse_bind (GScanner *scanner,
return G_TOKEN_NONE;
}
-/**
- * gtk_binding_parse_binding:
- * @scanner: GtkRC scanner
- *
- * Parse a binding entry from a gtkrc file.
- *
- * Return value: expected token upon errors, %G_TOKEN_NONE on success.
- *
- * Deprecated: 2.12: There should be no need to call this function outside GTK+.
- */
-guint
-gtk_binding_parse_binding (GScanner *scanner)
-{
- return _gtk_binding_parse_binding (scanner);
-}
-
guint
_gtk_binding_parse_binding (GScanner *scanner)
{
diff --git a/gtk/gtkbindings.h b/gtk/gtkbindings.h
index 0ff7423..2d1cca9 100644
--- a/gtk/gtkbindings.h
+++ b/gtk/gtkbindings.h
@@ -111,14 +111,6 @@ gboolean gtk_binding_set_activate (GtkBindingSet *binding_set,
GdkModifierType modifiers,
GtkObject *object);
-#ifndef GTK_DISABLE_DEPRECATED
-#define gtk_binding_entry_add gtk_binding_entry_clear
-void gtk_binding_entry_clear (GtkBindingSet *binding_set,
- guint keyval,
- GdkModifierType modifiers);
-guint gtk_binding_parse_binding (GScanner *scanner);
-#endif /* GTK_DISABLE_DEPRECATED */
-
void gtk_binding_entry_skip (GtkBindingSet *binding_set,
guint keyval,
GdkModifierType modifiers);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]