aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-link-action.h
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-17 03:11:40 +0800
committerXan Lopez <xan@igalia.com>2012-01-17 03:11:40 +0800
commit52cdd6df6cb561a48032358b3eedce16cfa2c9fb (patch)
tree1170c07244b9a2fba83251880900f8894887ae27 /src/ephy-link-action.h
parent1150405cc1bc50d6c258cb723a76ae90d8945f73 (diff)
downloadgsoc2013-epiphany-52cdd6df6cb561a48032358b3eedce16cfa2c9fb.tar
gsoc2013-epiphany-52cdd6df6cb561a48032358b3eedce16cfa2c9fb.tar.gz
gsoc2013-epiphany-52cdd6df6cb561a48032358b3eedce16cfa2c9fb.tar.bz2
gsoc2013-epiphany-52cdd6df6cb561a48032358b3eedce16cfa2c9fb.tar.lz
gsoc2013-epiphany-52cdd6df6cb561a48032358b3eedce16cfa2c9fb.tar.xz
gsoc2013-epiphany-52cdd6df6cb561a48032358b3eedce16cfa2c9fb.tar.zst
gsoc2013-epiphany-52cdd6df6cb561a48032358b3eedce16cfa2c9fb.zip
Refactor GtkActions with attached EphyWindows
Make a GtkAction subclass that only holds an EphyWindow and nothing else, and use it throughout. Allows us to kill some duplicated code.
Diffstat (limited to 'src/ephy-link-action.h')
-rw-r--r--src/ephy-link-action.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ephy-link-action.h b/src/ephy-link-action.h
index a6b4419cc..b2113bd4e 100644
--- a/src/ephy-link-action.h
+++ b/src/ephy-link-action.h
@@ -24,6 +24,8 @@
#ifndef EPHY_LINK_ACTION_H
#define EPHY_LINK_ACTION_H
+#include "ephy-window-action.h"
+
#include <gtk/gtk.h>
G_BEGIN_DECLS
@@ -51,14 +53,14 @@ typedef struct _EphyLinkActionGroupClass EphyLinkActionGroupClass;
struct _EphyLinkAction
{
- GtkAction parent_instance;
+ EphyWindowAction parent_instance;
EphyLinkActionPrivate *priv;
};
struct _EphyLinkActionClass
{
- GtkActionClass parent_class;
+ EphyWindowActionClass parent_class;
};
struct _EphyLinkActionGroup