[gtk+/gtk-2-90: 2/161] Remove deprecated gtk_binding_entry functions



commit 48e2750f7737437b65402ffcf94720d89aaa1439
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 db5d83a..c75e220 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
@@ -1588,22 +1557,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]