]> www.fi.muni.cz Git - evince.git/blob - shell/ev-open-recent-action.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / shell / ev-open-recent-action.h
1 /*
2  *  Copyright (C) 2007, Carlos Garcia Campos  <carlosgc@gnome.org>
3  *
4  *  This program is free software; you can redistribute it and/or modify
5  *  it under the terms of the GNU General Public License as published by
6  *  the Free Software Foundation; either version 2, or (at your option)
7  *  any later version.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with this program; if not, write to the Free Software
16  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA..
17  *
18  */
19
20 #ifndef EV_OPEN_RECENT_ACTION_H
21 #define EV_OPEN_RECENT_ACTION_H
22
23 #include <gtk/gtk.h>
24
25 G_BEGIN_DECLS
26
27 #define EV_TYPE_OPEN_RECENT_ACTION            (ev_open_recent_action_get_type ())
28 #define EV_OPEN_RECENT_ACTION(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_OPEN_RECENT_ACTION, EvOpenRecentAction))
29 #define EV_OPEN_RECENT_ACTION_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_OPEN_RECENT_ACTION, EvOpenRecentActionClass))
30 #define EV_IS_OPEN_RECENT_ACTION(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_OPEN_RECENT_ACTION))
31 #define EV_IS_OPEN_RECENT_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), EV_TYPE_OPEN_RECENT_ACTION))
32 #define EV_OPEN_RECENT_ACTION_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), EV_TYPE_OPEN_RECENT_ACTION, EvOpenRecentActionClass))
33
34 typedef struct _EvOpenRecentAction      EvOpenRecentAction;
35 typedef struct _EvOpenRecentActionClass EvOpenRecentActionClass;
36
37 struct _EvOpenRecentAction {
38         GtkAction parent;
39 };
40
41 struct _EvOpenRecentActionClass {
42         GtkActionClass parent_class;
43
44         void (* item_activated) (EvOpenRecentAction *action,
45                                  const gchar        *uri);
46 };
47
48 GType ev_open_recent_action_get_type (void) G_GNUC_CONST;
49
50 G_END_DECLS
51
52 #endif /* EV_OPEN_RECENT_ACTION_H */