diff options
author | Xan Lopez <xan@igalia.com> | 2012-01-17 03:11:40 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-01-17 03:11:40 +0800 |
commit | 52cdd6df6cb561a48032358b3eedce16cfa2c9fb (patch) | |
tree | 1170c07244b9a2fba83251880900f8894887ae27 /src/ephy-page-menu-action.h | |
parent | 1150405cc1bc50d6c258cb723a76ae90d8945f73 (diff) | |
download | gsoc2013-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-page-menu-action.h')
-rw-r--r-- | src/ephy-page-menu-action.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-page-menu-action.h b/src/ephy-page-menu-action.h index c7239b655..c510f944b 100644 --- a/src/ephy-page-menu-action.h +++ b/src/ephy-page-menu-action.h @@ -21,7 +21,7 @@ #ifndef __EPHY_PAGE_MENU_ACTION_H__ #define __EPHY_PAGE_MENU_ACTION_H__ -#include "ephy-navigation-action.h" +#include "ephy-window-action.h" #include <gtk/gtk.h> @@ -38,11 +38,11 @@ typedef struct _EphyPageMenuAction EphyPageMenuAction; typedef struct _EphyPageMenuActionClass EphyPageMenuActionClass; struct _EphyPageMenuActionClass { - EphyNavigationActionClass parent_class; + EphyWindowActionClass parent_class; }; struct _EphyPageMenuAction { - EphyNavigationAction parent_instance; + EphyWindowAction parent_instance; }; GType ephy_page_menu_action_get_type (void) G_GNUC_CONST; |