diff options
author | Christian Persch <[email protected]> | 2012-06-12 20:02:34 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-22 21:44:49 +0100 |
commit | c7fcfa103e9313d67fd4a956a4cae7163c54b204 (patch) | |
tree | b400c16a1594440347bdee616a50bd0ddeb840cc /shell/ev-application.c | |
parent | e0f26b9dbe29642ea37c6c95e14f355e155e1608 (diff) | |
download | atril-c7fcfa103e9313d67fd4a956a4cae7163c54b204.tar.bz2 atril-c7fcfa103e9313d67fd4a956a4cae7163c54b204.tar.xz |
shell: Use GResource for data files
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=ba06a5e
Diffstat (limited to 'shell/ev-application.c')
-rw-r--r-- | shell/ev-application.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/shell/ev-application.c b/shell/ev-application.c index 601a09a6..6307c7fe 100644 --- a/shell/ev-application.c +++ b/shell/ev-application.c @@ -49,7 +49,6 @@ struct _EvApplication { gchar *uri; gchar *dot_dir; - gchar *data_dir; #ifdef ENABLE_DBUS EvAtrilApplication *skeleton; @@ -990,8 +989,6 @@ static void ev_application_init(EvApplication* ev_application) ev_application->dot_dir = g_build_filename(g_get_user_config_dir(), "atril", NULL); } - ev_application->data_dir = g_strdup (ATRILDATADIR); - ev_application_init_session (ev_application); ev_application_accel_map_load (ev_application); @@ -1063,9 +1060,3 @@ ev_application_get_dot_dir (EvApplication *application, return application->dot_dir; } - -const gchar * -ev_application_get_data_dir (EvApplication *application) -{ - return application->data_dir; -} |