diff options
author | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2013-12-17 23:46:26 -0300 |
---|---|---|
committer | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2013-12-17 23:52:13 -0300 |
commit | 325d7ebbfde0921bb6e2107e51d1aa85c4fa2fe5 (patch) | |
tree | 870a433c059485af81e9a929738093558e3d8c0d /gladeui/glade-private.h | |
parent | 1401a4bb43a3e56d642c34d5dc7d5ee86217cb3d (diff) | |
download | glade-325d7ebbfde0921bb6e2107e51d1aa85c4fa2fe5.tar.gz |
GladeProjectProperties: added license page.
Now it is posible to change license type and glade will automatically
generate it for you if you supply copyright and authors
GladeProject: save license data as comments.
Make sure comments do not contain "--"
glade-utils.c: added _glade_util_strreplace() private function.
Diffstat (limited to 'gladeui/glade-private.h')
-rw-r--r-- | gladeui/glade-private.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gladeui/glade-private.h b/gladeui/glade-private.h index 0de48b21..ef27ca46 100644 --- a/gladeui/glade-private.h +++ b/gladeui/glade-private.h @@ -28,6 +28,8 @@ #ifndef __GLADE_PRIVATE_H__ #define __GLADE_PRIVATE_H__ +#include "glade-project-properties.h" + G_BEGIN_DECLS /* glade-catalog.c */ @@ -35,6 +37,31 @@ G_BEGIN_DECLS GladeCatalog *_glade_catalog_get_catalog (const gchar *name); GList *_glade_catalog_tsort (GList *catalogs); + +/* glade-project-properties.c */ +void +_glade_project_properties_set_license_data (GladeProjectProperties *props, + const gchar *license, + const gchar *name, + const gchar *description, + const gchar *copyright, + const gchar *authors); +void +_glade_project_properties_get_license_data (GladeProjectProperties *props, + gchar **license, + gchar **name, + gchar **description, + gchar **copyright, + gchar **authors); + +/* glade-utils.c */ + +gchar * +_glade_util_strreplace (gchar *str, + gboolean free_str, + const gchar *key, + const gchar *replacement); + /* glade-xml-utils.c */ /* GladeXml Error handling */ |