[glade] gladeui/glade-catalog.[ch]: added glade_catalog_get_extra_paths() function.
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] gladeui/glade-catalog.[ch]: added glade_catalog_get_extra_paths() function.
- Date: Thu, 11 Jun 2015 00:24:23 +0000 (UTC)
commit f7a6f46863d1be478d56340489579fb2a5f8ff9b
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Wed Jun 10 21:07:56 2015 -0300
gladeui/glade-catalog.[ch]: added glade_catalog_get_extra_paths() function.
gladeui/glade-catalog.c | 11 +++++++++++
gladeui/glade-catalog.h | 1 +
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/gladeui/glade-catalog.c b/gladeui/glade-catalog.c
index a687d21..ea05220 100644
--- a/gladeui/glade-catalog.c
+++ b/gladeui/glade-catalog.c
@@ -601,6 +601,17 @@ glade_catalog_remove_path (const gchar *path)
}
/**
+ * glade_catalog_get_extra_paths:
+ *
+ * Returns a list paths added by glade_catalog_add_path()
+ */
+const GList *
+glade_catalog_get_extra_paths (void)
+{
+ return catalog_paths;
+}
+
+/**
* glade_catalog_load_all:
*
* Loads all available catalogs in the system.
diff --git a/gladeui/glade-catalog.h b/gladeui/glade-catalog.h
index 8434153..9bf44ba 100644
--- a/gladeui/glade-catalog.h
+++ b/gladeui/glade-catalog.h
@@ -55,6 +55,7 @@ typedef struct {
void glade_catalog_add_path (const gchar *path);
void glade_catalog_remove_path (const gchar *path);
+const GList *glade_catalog_get_extra_paths (void);
const GList *glade_catalog_load_all (void);
G_CONST_RETURN gchar *glade_catalog_get_name (GladeCatalog *catalog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]