aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-19 03:26:21 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-19 03:26:21 +0800
commit547e123d2777bd3beba36e74e018efb590ed44d4 (patch)
tree447712a20cff8bc89e6d6c1d16f0d99b9c1122f5 /shell
parent67159043da2de9df576f6a4eaa245e0c3926f004 (diff)
downloadgsoc2013-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 'shell')
-rw-r--r--shell/e-component-view.c2
-rw-r--r--shell/e-component-view.h5
2 files changed, 3 insertions, 4 deletions
diff --git a/shell/e-component-view.c b/shell/e-component-view.c
index 8e75b5b4a8..58ea3f9a89 100644
--- a/shell/e-component-view.c
+++ b/shell/e-component-view.c
@@ -93,7 +93,7 @@ e_component_view_init (EComponentView *shell)
{
}
-EComponentView *e_component_view_new(GNOME_Evolution_ShellView parent, const gchar *id, struct _GtkWidget *side, struct _GtkWidget *view, struct _GtkWidget *statusbar)
+EComponentView *e_component_view_new(GNOME_Evolution_ShellView parent, const gchar *id, GtkWidget *side, GtkWidget *view, GtkWidget *statusbar)
{
EComponentView *new = g_object_new (e_component_view_get_type (), NULL);
CORBA_Environment ev = { NULL };
diff --git a/shell/e-component-view.h b/shell/e-component-view.h
index ef8a6e813c..ca40e3c381 100644
--- a/shell/e-component-view.h
+++ b/shell/e-component-view.h
@@ -24,12 +24,11 @@
#ifndef _E_COMPONENT_VIEW_H_
#define _E_COMPONENT_VIEW_H_
+#include <gtk/gtk.h>
#include <bonobo/bonobo-object.h>
G_BEGIN_DECLS
-struct _GtkWidget;
-
typedef struct _EComponentView EComponentView;
typedef struct _EComponentViewPrivate EComponentViewPrivate;
typedef struct _EComponentViewClass EComponentViewClass;
@@ -62,7 +61,7 @@ struct _EComponentViewClass {
};
GType e_component_view_get_type(void);
-EComponentView *e_component_view_new(GNOME_Evolution_ShellView shell_view, const gchar *id, struct _GtkWidget *side, struct _GtkWidget *view, struct _GtkWidget *status);
+EComponentView *e_component_view_new(GNOME_Evolution_ShellView shell_view, const gchar *id, GtkWidget *side, GtkWidget *view, GtkWidget *status);
EComponentView *e_component_view_new_controls(GNOME_Evolution_ShellView parent, const gchar *id, struct _BonoboControl *side, struct _BonoboControl *view, struct _BonoboControl *statusbar);
void e_component_view_set_title(EComponentView *ecv, const gchar *title);