Commit c3f4fe33 authored by Emmanuele Bassi's avatar Emmanuele Bassi

Deprecate gtk_widget_send_expose()

We have various replacements for what this function does, and we are not
calling it internally any more.
parent a9a59ac5
......@@ -7523,7 +7523,12 @@ gtk_cairo_transform_to_window (cairo_t *cr,
*
* Returns: return from the event signal emission (%TRUE if
* 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
gtk_widget_send_expose (GtkWidget *widget,
GdkEvent *event)
......
......@@ -741,7 +741,7 @@ gboolean gtk_widget_mnemonic_activate (GtkWidget *widget,
GDK_AVAILABLE_IN_ALL
gboolean gtk_widget_event (GtkWidget *widget,
GdkEvent *event);
GDK_AVAILABLE_IN_ALL
GDK_DEPRECATED_IN_3_22
gint gtk_widget_send_expose (GtkWidget *widget,
GdkEvent *event);
GDK_AVAILABLE_IN_ALL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment