aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-alert.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-03-16 00:11:26 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-16 00:14:36 +0800
commit04305b8fa35d87d97e48b11f93d24604cef5155d (patch)
tree5bb4922a88238522039431aa4d3583777d1f3466 /e-util/e-alert.h
parent2971ce413ce9f91ac768d53487c47056b2f5710f (diff)
downloadgsoc2013-evolution-04305b8fa35d87d97e48b11f93d24604cef5155d.tar.gz
gsoc2013-evolution-04305b8fa35d87d97e48b11f93d24604cef5155d.tar.zst
gsoc2013-evolution-04305b8fa35d87d97e48b11f93d24604cef5155d.zip
Revert some bad assumptions I made in EPluginUI.
We can't require the use of EUIManager everywhere because we don't control all the UI manager instances -- the most compelling example being the composer, whose UI manager comes from GtkhtmlEditor. Instead, EPluginUI will check the instance type and pick an appropriate "load_from_string" function.
Diffstat (limited to 'e-util/e-alert.h')
-rw-r--r--e-util/e-alert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-alert.h b/e-util/e-alert.h
index d0a4a0b502..66a0cb9c23 100644
--- a/e-util/e-alert.h
+++ b/e-util/e-alert.h
@@ -97,7 +97,7 @@ struct _EAlertClass
GType e_alert_get_type (void);
-EAlert *e_alert_new(const gchar *tag, ...);
+EAlert *e_alert_new(const gchar *tag, ...) G_GNUC_NULL_TERMINATED;
EAlert *e_alert_new_valist(const gchar *tag, va_list ap);
EAlert *e_alert_new_array(const gchar *tag, GPtrArray *args);