aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-alert.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-03-15 22:38:59 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-15 22:38:59 +0800
commit58d0d111af5580051b4d9a5cbaef4d7b96fdcfa8 (patch)
treeb6d3a47f051d5d81fcc2c7219ff60a5a77711f77 /e-util/e-alert.h
parentea52ab83fe121796a12a090ce81ba114d2c368ed (diff)
downloadgsoc2013-evolution-58d0d111af5580051b4d9a5cbaef4d7b96fdcfa8.tar.gz
gsoc2013-evolution-58d0d111af5580051b4d9a5cbaef4d7b96fdcfa8.tar.zst
gsoc2013-evolution-58d0d111af5580051b4d9a5cbaef4d7b96fdcfa8.zip
Prevent future bugs like #612792.
Add G_GNUC_NULL_TERMINATED to EAlert functions with variable-length parameter lists and drop the unnecessary "arg0" parameter so the function attribute works correctly.
Diffstat (limited to 'e-util/e-alert.h')
-rw-r--r--e-util/e-alert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/e-util/e-alert.h b/e-util/e-alert.h
index 743db9761f..d0a4a0b502 100644
--- a/e-util/e-alert.h
+++ b/e-util/e-alert.h
@@ -97,8 +97,8 @@ struct _EAlertClass
GType e_alert_get_type (void);
-EAlert *e_alert_new(const gchar *tag, const gchar *arg0, ...);
-EAlert *e_alert_new_valist(const gchar *tag, const gchar *arg0, va_list ap);
+EAlert *e_alert_new(const gchar *tag, ...);
+EAlert *e_alert_new_valist(const gchar *tag, va_list ap);
EAlert *e_alert_new_array(const gchar *tag, GPtrArray *args);
guint32 e_alert_get_flags (EAlert *alert);