]> git.sur5r.net Git - glabels/commit
2005-02-05 Jim Evins <evins@snaught.com>
authorJim Evins <evins@snaught.com>
Sun, 6 Feb 2005 04:40:33 +0000 (04:40 +0000)
committerJim Evins <evins@snaught.com>
Sun, 6 Feb 2005 04:40:33 +0000 (04:40 +0000)
commit46b4d3627f3a1af503c1433286dbe78c7e7f2d09
tree690cb25b327397bc169b22fcdd298e59881b73cf
parent80c6dfde91a3ca72b4015c50ecebb7898fc474ae
2005-02-05  Jim Evins  <evins@snaught.com>

Some cleanup to libglabels.

* configure.in:
Updated version to 2.1.1cvs.  Added generation of libglabels.pc.
* libglabels/libglabels.pc.in
Created.
* libglabels/enums.h
Created.  Currently only contains glUnitsType which provides enumerations
for all possible units of distance.
* libglabels/Makefile.am:
Incorporated new files enums.h and libglabels.pc[.in].
* libglabels/libglabels.h:
Include enums.h.
* libglabels/template.h:
* libglabels/template.c: (gl_template_layout_new):
Changed parameters nx and ny to gint from gdouble.
* libglabels/xml.h:
* libglabels/xml.c: (gl_xml_get_prop_length),
(gl_xml_set_prop_length), (gl_xml_set_default_units):
Added support for different output units.
* src/prefs-dialog.c: (update_locale_page_from_prefs),
(update_prefs_from_locale_page):
* src/prefs-model.c: (string_to_units), (units_to_string):
* src/prefs-model.h:
* src/prefs.c: (gl_prefs_get_units_per_point),
(gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
(gl_prefs_get_units_string):
* src/prefs.h:
* src/wdgt-media-select.c: (details_update), (get_label_size_desc):
Reconciled all length enumerations with the new enumerations provided
in libglabels/enums.h.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@501 f5e0f49d-192f-0410-a22d-a8d8700d0965
16 files changed:
glabels2/ChangeLog
glabels2/configure.in
glabels2/libglabels/Makefile.am
glabels2/libglabels/enums.h [new file with mode: 0644]
glabels2/libglabels/libglabels.h
glabels2/libglabels/libglabels.pc.in [new file with mode: 0644]
glabels2/libglabels/template.c
glabels2/libglabels/template.h
glabels2/libglabels/xml.c
glabels2/libglabels/xml.h
glabels2/src/prefs-dialog.c
glabels2/src/prefs-model.c
glabels2/src/prefs-model.h
glabels2/src/prefs.c
glabels2/src/prefs.h
glabels2/src/wdgt-media-select.c