mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-06 02:40:07 +00:00
Deprecate gtk_widget_send_expose()
We have various replacements for what this function does, and we are not calling it internally any more.
This commit is contained in:
parent
a9a59ac55e
commit
c3f4fe334d
@ -7523,7 +7523,12 @@ gtk_cairo_transform_to_window (cairo_t *cr,
|
|||||||
*
|
*
|
||||||
* Returns: return from the event signal emission (%TRUE if
|
* Returns: return from the event signal emission (%TRUE if
|
||||||
* the event was handled)
|
* the event was handled)
|
||||||
**/
|
*
|
||||||
|
* Deprecated: 3.22: Application and widget code should not handle
|
||||||
|
* expose events directly; invalidation should use the #GtkWidget
|
||||||
|
* API, and drawing should only happen inside #GtkWidget::draw
|
||||||
|
* implementations
|
||||||
|
*/
|
||||||
gint
|
gint
|
||||||
gtk_widget_send_expose (GtkWidget *widget,
|
gtk_widget_send_expose (GtkWidget *widget,
|
||||||
GdkEvent *event)
|
GdkEvent *event)
|
||||||
|
@ -741,7 +741,7 @@ gboolean gtk_widget_mnemonic_activate (GtkWidget *widget,
|
|||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_widget_event (GtkWidget *widget,
|
gboolean gtk_widget_event (GtkWidget *widget,
|
||||||
GdkEvent *event);
|
GdkEvent *event);
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_DEPRECATED_IN_3_22
|
||||||
gint gtk_widget_send_expose (GtkWidget *widget,
|
gint gtk_widget_send_expose (GtkWidget *widget,
|
||||||
GdkEvent *event);
|
GdkEvent *event);
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
|
Loading…
Reference in New Issue
Block a user