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-import.h | |
parent | 67159043da2de9df576f6a4eaa245e0c3926f004 (diff) | |
download | gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.gz gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.bz2 gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.lz gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.xz gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.zst gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.zip |
Stop abusing forward declarations.
Diffstat (limited to 'e-util/e-import.h')
-rw-r--r-- | e-util/e-import.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/e-util/e-import.h b/e-util/e-import.h index 4474db18da..84c5061132 100644 --- a/e-util/e-import.h +++ b/e-util/e-import.h @@ -24,14 +24,11 @@ #ifndef __E_IMPORT_H__ #define __E_IMPORT_H__ -#include <glib-object.h> -#include "libedataserver/e-msgport.h" +#include <gtk/gtk.h> +#include <libedataserver/e-msgport.h> G_BEGIN_DECLS -struct _GtkWindow; -struct _GtkWidget; - /* This is an importer function */ typedef struct _EImport EImport; @@ -47,7 +44,7 @@ typedef void (*EImportStatusFunc)(EImport *ei, const gchar *what, gint pc, gpoin typedef void (*EImportFactoryFunc)(EImport *ei, gpointer data); typedef void (*EImportImporterFunc)(EImportImporter *importer, gpointer data); typedef gboolean (*EImportSupportedFunc)(EImport *ei, EImportTarget *, EImportImporter *im); -typedef struct _GtkWidget *(*EImportWidgetFunc)(EImport *ei, EImportTarget *, EImportImporter *im); +typedef GtkWidget *(*EImportWidgetFunc)(EImport *ei, EImportTarget *, EImportImporter *im); typedef void (*EImportImportFunc)(EImport *ei, EImportTarget *, EImportImporter *im); /* The global target types, implementors may add additional ones */ @@ -180,7 +177,7 @@ EImport *e_import_construct(EImport *, const gchar *id); void e_import_import(EImport *ei, EImportTarget *, EImportImporter *, EImportStatusFunc status, EImportCompleteFunc done, gpointer data); void e_import_cancel(EImport *, EImportTarget *, EImportImporter *); -struct _GtkWidget *e_import_get_widget(EImport *ei, EImportTarget *, EImportImporter *); +GtkWidget *e_import_get_widget(EImport *ei, EImportTarget *, EImportImporter *); void e_import_status(EImport *, EImportTarget *, const gchar *what, gint pc); void e_import_complete(EImport *, EImportTarget *); |