summaryrefslogtreecommitdiff
path: root/shell/ev-application.c
diff options
context:
space:
mode:
authorChristian Persch <[email protected]>2012-06-12 20:02:34 +0200
committerraveit65 <[email protected]>2018-03-22 21:24:30 +0100
commit11fc5dc635d544b7d19b5774ab11dcd5e5c2638c (patch)
tree227a2f3c917ddb6e87773e92cf0ec04ea5969619 /shell/ev-application.c
parent5d51dc6793aaf4147ebee75072cdc09333b91fc6 (diff)
downloadatril-11fc5dc635d544b7d19b5774ab11dcd5e5c2638c.tar.bz2
atril-11fc5dc635d544b7d19b5774ab11dcd5e5c2638c.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.c9
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;
-}