Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-application.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-10-26 15:29:32 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2007-10-26 15:29:32 (GMT)
commitf75f5694d713ead3d2942127ad0dfeb7259a0357 (patch)
tree038a48e5fede4b57e0e7d49f849fc9929d605142 /shell/ev-application.c
parentf7e355c8f2621f8026a9461a25ee4e1d60b28bb7 (diff)
Removed
2007-10-26 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * cut-n-paste/Makefile.am: * cut-n-paste/recent-files/*: Removed * help/reference/Makefile.am: * shell/Makefile.am: * shell/ev-application.[ch]: (ev_application_shutdown), (ev_application_init): * shell/ev-window.c: (ev_window_add_recent), (ev_window_setup_recent), (ev_window_dispose), (ev_window_init): Bump requirements to gtk+ 2.10.0 and remove egg-recent code. svn path=/trunk/; revision=2722
Diffstat (limited to 'shell/ev-application.c')
-rw-r--r--shell/ev-application.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/shell/ev-application.c b/shell/ev-application.c
index 7633fb7..2567a8b 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -54,10 +54,6 @@ struct _EvApplication {
EggToolbarsModel *toolbars_model;
-#ifndef HAVE_GTK_RECENT
- EggRecentModel *recent_model;
-#endif
-
TotemScrsaver *scr_saver;
gchar *last_chooser_uri;
@@ -625,13 +621,6 @@ ev_application_shutdown (EvApplication *application)
application->toolbars_file = NULL;
}
-#ifndef HAVE_GTK_RECENT
- if (application->recent_model) {
- g_object_unref (application->recent_model);
- application->recent_model = NULL;
- }
-#endif
-
#ifdef WITH_GTK_PRINT
#if GTK_CHECK_VERSION (2, 11, 0)
if (application->print_settings_file) {
@@ -695,16 +684,6 @@ ev_application_init (EvApplication *ev_application)
egg_toolbars_model_set_flags (ev_application->toolbars_model, 0,
EGG_TB_MODEL_NOT_REMOVABLE);
-
-#ifndef HAVE_GTK_RECENT
- ev_application->recent_model = egg_recent_model_new (EGG_RECENT_MODEL_SORT_MRU);
- /* FIXME we should add a mime type filter but current eggrecent
- has only a varargs style api which does not work well when
- the list of mime types is dynamic */
- egg_recent_model_set_limit (ev_application->recent_model, 5);
- egg_recent_model_set_filter_groups (ev_application->recent_model,
- "Evince", NULL);
-#endif /* HAVE_GTK_RECENT */
}
/**
@@ -740,14 +719,6 @@ ev_application_get_toolbars_model (EvApplication *application)
return application->toolbars_model;
}
-#ifndef HAVE_GTK_RECENT
-EggRecentModel *
-ev_application_get_recent_model (EvApplication *application)
-{
- return application->recent_model;
-}
-#endif
-
void
ev_application_save_toolbars_model (EvApplication *application)
{