aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-popup.h
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 04:01:29 +0800
commitc0d998229d5a3d2b65445b9025de7b23112f4063 (patch)
tree49f0f2e6e7da31967cf412cbd98c92f5a7856765 /e-util/e-popup.h
parent00d56cd32c5d0a7f49567d5241ba0d6fd80940bb (diff)
downloadgsoc2013-evolution-c0d998229d5a3d2b65445b9025de7b23112f4063.tar
gsoc2013-evolution-c0d998229d5a3d2b65445b9025de7b23112f4063.tar.gz
gsoc2013-evolution-c0d998229d5a3d2b65445b9025de7b23112f4063.tar.bz2
gsoc2013-evolution-c0d998229d5a3d2b65445b9025de7b23112f4063.tar.lz
gsoc2013-evolution-c0d998229d5a3d2b65445b9025de7b23112f4063.tar.xz
gsoc2013-evolution-c0d998229d5a3d2b65445b9025de7b23112f4063.tar.zst
gsoc2013-evolution-c0d998229d5a3d2b65445b9025de7b23112f4063.zip
Stop abusing forward declarations.
Diffstat (limited to 'e-util/e-popup.h')
-rw-r--r--e-util/e-popup.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/e-util/e-popup.h b/e-util/e-popup.h
index 6ca872b186..257234dc81 100644
--- a/e-util/e-popup.h
+++ b/e-util/e-popup.h
@@ -24,8 +24,8 @@
#ifndef __E_POPUP_H__
#define __E_POPUP_H__
-#include <glib-object.h>
-#include "libedataserver/e-msgport.h"
+#include <gtk/gtk.h>
+#include <libedataserver/e-msgport.h>
G_BEGIN_DECLS
@@ -141,7 +141,7 @@ struct _EPopupItem {
struct _EPopupTarget {
struct _EPopup *popup; /* used for virtual methods */
- struct _GtkWidget *widget; /* used if you need a parent toplevel, if available */
+ GtkWidget *widget; /* used if you need a parent toplevel, if available */
guint32 type; /* targe type, for implementors */
guint32 mask; /* depends on type, visibility mask */
@@ -207,8 +207,8 @@ void e_popup_add_items(EPopup *, GSList *items, const gchar *domain, EPopupItems
void e_popup_add_static_items(EPopup *emp, EPopupTarget *target);
/* do not call e_popup_create_menu, it can leak structures if not used right */
-struct _GtkMenu *e_popup_create_menu(EPopup *, EPopupTarget *, guint32 mask);
-struct _GtkMenu *e_popup_create_menu_once(EPopup *emp, EPopupTarget *, guint32 mask);
+GtkMenu *e_popup_create_menu(EPopup *, EPopupTarget *, guint32 mask);
+GtkMenu *e_popup_create_menu_once(EPopup *emp, EPopupTarget *, guint32 mask);
gpointer e_popup_target_new(EPopup *, gint type, gsize size);
void e_popup_target_free(EPopup *, gpointer );