X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-navigation-action.h;h=2ac58487c316165d61f2ae57237588dfdfbca8e0;hb=f51872613abaaa42c716e2fe6a2e4695c529dc4b;hp=fe9b9d73094b969a0d7552ac3adea68f0563396c;hpb=dbe299f7b2412d318f0eda7c401feba68c8663e3;p=evince.git diff --git a/shell/ev-navigation-action.h b/shell/ev-navigation-action.h index fe9b9d73..2ac58487 100644 --- a/shell/ev-navigation-action.h +++ b/shell/ev-navigation-action.h @@ -16,7 +16,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id$ */ #ifndef EV_NAVIGATION_ACTION_H @@ -25,6 +24,7 @@ #include #include "ev-history.h" +#include "ev-link.h" G_BEGIN_DECLS @@ -39,12 +39,6 @@ typedef struct _EvNavigationAction EvNavigationAction; typedef struct _EvNavigationActionPrivate EvNavigationActionPrivate; typedef struct _EvNavigationActionClass EvNavigationActionClass; -typedef enum -{ - EV_NAVIGATION_DIRECTION_BACK, - EV_NAVIGATION_DIRECTION_FORWARD -} EvNavigationDirection; - struct _EvNavigationAction { GtkAction parent; @@ -56,6 +50,9 @@ struct _EvNavigationAction struct _EvNavigationActionClass { GtkActionClass parent_class; + + void (* activate_link) (EvNavigationAction *action, + EvLink *link); }; GType ev_navigation_action_get_type (void);