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
...@@ -7522,8 +7522,13 @@ gtk_cairo_transform_to_window (cairo_t *cr, ...@@ -7522,8 +7522,13 @@ gtk_cairo_transform_to_window (cairo_t *cr,
* with a call to gdk_window_process_updates(). * with a call to gdk_window_process_updates().
* *
* 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, ...@@ -741,7 +741,7 @@ gboolean gtk_widget_mnemonic_activate (GtkWidget *widget,
gboolean gtk_widget_event (GtkWidget *widget, gboolean gtk_widget_event (GtkWidget *widget,
GdkEvent *event); GdkEvent *event);
gint gtk_widget_send_expose (GtkWidget *widget, gint gtk_widget_send_expose (GtkWidget *widget,
GdkEvent *event); GdkEvent *event);
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