Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-application.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2006-08-05 10:40:56 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2006-08-05 10:40:56 (GMT)
commit63718064505c640af952c6e180b75235a1de5f14 (patch)
tree213f0d030710ece03ee26b98f878a56642382877 /shell/ev-application.h
parente47828bd9933f9a44cdfb009fdfcddfcec2748dd (diff)
Use GtkRecent instead of EggRecent when it's available. Fixes bug #349273
2006-08-05 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * cut-n-paste/Makefile.am: * data/evince-ui.xml: * shell/Makefile.am: * shell/ev-application.[ch]: * shell/ev-window.c: Use GtkRecent instead of EggRecent when it's available. Fixes bug #349273
Diffstat (limited to 'shell/ev-application.h')
-rw-r--r--shell/ev-application.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/ev-application.h b/shell/ev-application.h
index 9388612..880f037 100644
--- a/shell/ev-application.h
+++ b/shell/ev-application.h
@@ -29,7 +29,9 @@
#include "ev-window.h"
#include "egg-toolbars-model.h"
+#ifndef HAVE_GTK_RECENT
#include "egg-recent-model.h"
+#endif
G_BEGIN_DECLS
@@ -51,7 +53,9 @@ struct _EvApplication {
gchar *toolbars_file;
EggToolbarsModel *toolbars_model;
+#ifndef HAVE_GTK_RECENT
EggRecentModel *recent_model;
+#endif
gchar *last_chooser_uri;
};
@@ -86,7 +90,9 @@ GList *ev_application_get_windows (EvApplication *application);
EggToolbarsModel *ev_application_get_toolbars_model (EvApplication *application);
void ev_application_save_toolbars_model (EvApplication *application);
+#ifndef HAVE_GTK_RECENT
EggRecentModel *ev_application_get_recent_model (EvApplication *application);
+#endif
void ev_application_set_chooser_uri (EvApplication *application,
const gchar *uri);
const gchar *ev_application_get_chooser_uri (EvApplication *application);