diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-19 03:26:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-19 03:26:21 +0800 |
commit | 547e123d2777bd3beba36e74e018efb590ed44d4 (patch) | |
tree | 447712a20cff8bc89e6d6c1d16f0d99b9c1122f5 /e-util/e-error.h | |
parent | 67159043da2de9df576f6a4eaa245e0c3926f004 (diff) | |
download | gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.gz gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.zst gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.zip |
Stop abusing forward declarations.
Diffstat (limited to 'e-util/e-error.h')
-rw-r--r-- | e-util/e-error.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/e-util/e-error.h b/e-util/e-error.h index 6b66a6da31..7b9685aca6 100644 --- a/e-util/e-error.h +++ b/e-util/e-error.h @@ -26,8 +26,6 @@ #include <stdarg.h> #include <gtk/gtk.h> -struct _GtkWindow; - /* * Some standard errors, if these are altered or added to, * update devel-docs/misc/errors.txt @@ -50,14 +48,14 @@ struct _GtkWindow; #define E_ERROR_NO_LOAD_FILE "system:no-save-file" /* Note that all errors returned are standard GtkDialoge's */ -struct _GtkWidget *e_error_new(struct _GtkWindow *parent, const gchar *tag, const gchar *arg0, ...); -struct _GtkWidget *e_error_newv(struct _GtkWindow *parent, const gchar *tag, const gchar *arg0, va_list ap); +GtkWidget *e_error_new(GtkWindow *parent, const gchar *tag, const gchar *arg0, ...); +GtkWidget *e_error_newv(GtkWindow *parent, const gchar *tag, const gchar *arg0, va_list ap); -gint e_error_run(struct _GtkWindow *parent, const gchar *tag, const gchar *arg0, ...); -gint e_error_runv(struct _GtkWindow *parent, const gchar *tag, const gchar *arg0, va_list ap); +gint e_error_run(GtkWindow *parent, const gchar *tag, const gchar *arg0, ...); +gint e_error_runv(GtkWindow *parent, const gchar *tag, const gchar *arg0, va_list ap); guint e_error_count_buttons (GtkDialog *dialog); -void e_error_default_parent(struct _GtkWindow *parent); +void e_error_default_parent(GtkWindow *parent); #endif /* !_E_ERROR_H */ |