summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-27 18:36:38 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-27 18:36:38 (EDT)
commit33b7102d84a214164fce44f47886934627f2f01c (patch)
treed5e496735170b04782ee735e4b3d8a20b3156a5f
parenta154836981108c9894d430b109da302aaddf6662 (diff)
downloadmarquee-33b7102d84a214164fce44f47886934627f2f01c.zip
marquee-33b7102d84a214164fce44f47886934627f2f01c.tar.gz
marquee-33b7102d84a214164fce44f47886934627f2f01c.tar.bz2
mq_application_get_resources_dir(): New function
-rw-r--r--src/application.c6
-rw-r--r--src/application.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/application.c b/src/application.c
index b372d23..1961545 100644
--- a/src/application.c
+++ b/src/application.c
@@ -233,6 +233,12 @@ mq_application_delete_window(MqApplication *application, MqWindow *window)
}
}
+const gchar *
+mq_application_get_resources_dir(MqApplication *application)
+{
+ return application->resources_dir;
+}
+
static gboolean
scroll_tab_labels(MqApplication *application)
{
diff --git a/src/application.h b/src/application.h
index 0a9939d..a7c8d39 100644
--- a/src/application.h
+++ b/src/application.h
@@ -51,6 +51,9 @@ mq_application_add_window(MqApplication *application, const gchar **uris);
void
mq_application_delete_window(MqApplication *application, MqWindow *window);
+const gchar *
+mq_application_get_resources_dir(MqApplication *application);
+
void
mq_application_marquee_mode_activate(MqApplication *application);