From 4a929caada81820d7499b09875870b84e9900912 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 31 Oct 2010 16:02:30 -0400 Subject: Pass an EAlertSink to e_alert_sink_submit_alert(). Passing a random GtkWidget and then searching its ancestors for an EAlertSink turned out to be not as useful as I thought. Most of the time we know about and have access to the widget that implements EAlertSink, so just pass it directly as an EAlertSink. --- e-util/e-alert-sink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'e-util/e-alert-sink.h') diff --git a/e-util/e-alert-sink.h b/e-util/e-alert-sink.h index 35c56f95b1..da5ae7b06f 100644 --- a/e-util/e-alert-sink.h +++ b/e-util/e-alert-sink.h @@ -54,7 +54,7 @@ struct _EAlertSinkInterface { }; GType e_alert_sink_get_type (void); -void e_alert_sink_submit_alert (GtkWidget *widget, +void e_alert_sink_submit_alert (EAlertSink *alert_sink, EAlert *alert); G_END_DECLS -- cgit