From 11fc5dc635d544b7d19b5774ab11dcd5e5c2638c Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 12 Jun 2012 20:02:34 +0200 Subject: shell: Use GResource for data files origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=ba06a5e --- shell/ev-application.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'shell/ev-application.c') 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; -} -- cgit v1.2.1