aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-location-action.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-location-action.h')
-rw-r--r--src/ephy-location-action.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/ephy-location-action.h b/src/ephy-location-action.h
index 987e9c75b..78053b27c 100644
--- a/src/ephy-location-action.h
+++ b/src/ephy-location-action.h
@@ -21,7 +21,7 @@
#ifndef EPHY_LOCATION_ACTION_H
#define EPHY_LOCATION_ACTION_H
-#include <gtk/gtkaction.h>
+#include "ephy-link-action.h"
G_BEGIN_DECLS
@@ -33,12 +33,12 @@ G_BEGIN_DECLS
#define EPHY_LOCATION_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_LOCATION_ACTION, EphyLocationActionClass))
typedef struct _EphyLocationAction EphyLocationAction;
-typedef struct _EphyLocationActionClass EphyLocationActionClass;
typedef struct _EphyLocationActionPrivate EphyLocationActionPrivate;
-
+typedef struct _EphyLocationActionClass EphyLocationActionClass;
+
struct _EphyLocationAction
{
- GtkAction parent;
+ EphyLinkAction parent;
/*< private >*/
EphyLocationActionPrivate *priv;
@@ -46,9 +46,7 @@ struct _EphyLocationAction
struct _EphyLocationActionClass
{
- GtkActionClass parent_class;
-
- void (*go_location) (EphyLocationAction *action, char *location);
+ EphyLinkActionClass parent_class;
};
GType ephy_location_action_get_type (void);