]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-navigation-action.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / shell / ev-navigation-action.h
index c801c3922c3ad176c3779267423c386b3a99d4c9..8089e4f4383851a93f414ef416b56effbd84278d 100644 (file)
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  *
  */
 
 #ifndef EV_NAVIGATION_ACTION_H
 #define EV_NAVIGATION_ACTION_H
 
-#include <gtk/gtkaction.h>
+#include <gtk/gtk.h>
 
 #include "ev-history.h"
-#include "ev-window.h"
+#include "ev-link.h"
 
 G_BEGIN_DECLS
 
@@ -50,13 +50,14 @@ struct _EvNavigationAction
 struct _EvNavigationActionClass
 {
        GtkActionClass parent_class;
+
+       void (* activate_link) (EvNavigationAction *action,
+                               EvLink             *link);
 };
 
 GType  ev_navigation_action_get_type           (void);
 void   ev_navigation_action_set_history        (EvNavigationAction *action,
                                                 EvHistory          *history);
-void   ev_navigation_action_set_window         (EvNavigationAction *action,
-                                                EvWindow           *window);
 
 G_END_DECLS