Prefix gtk_selection_clear with an underscore

This commit is contained in:
Christian Dywan 2009-10-07 18:06:46 +02:00 committed by Javier Jardón
parent a42886d81d
commit 6513947473
2 changed files with 3 additions and 11 deletions

View File

@ -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

View File

@ -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,