[gtk+/gtk-2-90: 20/200] Prefix gtk_selection_clear with an underscore



commit 6513947473469ddf9ea66fb636c1efe8db0bfcd5
Author: Christian Dywan <christian twotoasts de>
Date:   Wed Oct 7 18:06:46 2009 +0200

    Prefix gtk_selection_clear with an underscore

 gtk/gtkselection.c |   10 ++--------
 gtk/gtkselection.h |    4 +---
 2 files changed, 3 insertions(+), 11 deletions(-)
---
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index cbc2b3e..5c7db9c 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -2177,7 +2177,7 @@ gtk_selection_init (void)
 }
 
 /**
- * gtk_selection_clear:
+ * _gtk_selection_clear:
  * @widget: a #GtkWidget
  * @event: the event
  * 
@@ -2185,15 +2185,9 @@ gtk_selection_init (void)
  * signal. 
  * 
  * Return value: %TRUE if the event was handled, otherwise false
- * 
- * Since: 2.2
- *
- * Deprecated: 2.4: Instead of calling this function, chain up from
- * your selection-clear-event handler. Calling this function
- * from any other context is illegal. 
  **/
 gboolean
-gtk_selection_clear (GtkWidget         *widget,
+_gtk_selection_clear (GtkWidget         *widget,
 		     GdkEventSelection *event)
 {
   /* Note that we filter clear events in gdkselection-x11.c, so
diff --git a/gtk/gtkselection.h b/gtk/gtkselection.h
index 55bfcad..fd27680 100644
--- a/gtk/gtkselection.h
+++ b/gtk/gtkselection.h
@@ -197,10 +197,8 @@ gboolean gtk_targets_include_uri                 (GdkAtom       *targets,
 void gtk_selection_remove_all      (GtkWidget *widget);
 
 /* Event handlers */
-#if !defined(GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
-gboolean gtk_selection_clear		  (GtkWidget 	     *widget,
+gboolean _gtk_selection_clear		  (GtkWidget 	     *widget,
 					   GdkEventSelection *event);
-#endif
 gboolean _gtk_selection_request		  (GtkWidget  	     *widget,
 					   GdkEventSelection *event);
 gboolean _gtk_selection_incr_event	  (GdkWindow         *window,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]