aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-alert-sink.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-11-01 04:02:30 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2010-11-10 06:33:20 +0800
commit4a929caada81820d7499b09875870b84e9900912 (patch)
treef68e00a2c0e5c24d00ae0ec32c11570383a480e7 /e-util/e-alert-sink.h
parent3d7cfbbd2f67e40fea1a5c231e8fc7d6c28f2a01 (diff)
downloadgsoc2013-evolution-4a929caada81820d7499b09875870b84e9900912.tar
gsoc2013-evolution-4a929caada81820d7499b09875870b84e9900912.tar.gz
gsoc2013-evolution-4a929caada81820d7499b09875870b84e9900912.tar.bz2
gsoc2013-evolution-4a929caada81820d7499b09875870b84e9900912.tar.lz
gsoc2013-evolution-4a929caada81820d7499b09875870b84e9900912.tar.xz
gsoc2013-evolution-4a929caada81820d7499b09875870b84e9900912.tar.zst
gsoc2013-evolution-4a929caada81820d7499b09875870b84e9900912.zip
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.
Diffstat (limited to 'e-util/e-alert-sink.h')
-rw-r--r--e-util/e-alert-sink.h2
1 files changed, 1 insertions, 1 deletions
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