[gimp/soc-2011-gimpunitentry: 8/68] libgimpwidgets: add new symbols to .def file



commit 05fb58952824938c95b124227e66e8004bfdf243
Author: Enrico Schröder <enni schroeder gmail com>
Date:   Mon Jun 6 17:55:01 2011 +0200

    libgimpwidgets: add new symbols to .def file

 libgimpwidgets/gimpunitadjustment.c |    9 +++++----
 libgimpwidgets/gimpwidgets.def      |   28 ++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 4 deletions(-)
---
diff --git a/libgimpwidgets/gimpunitadjustment.c b/libgimpwidgets/gimpunitadjustment.c
index 6df20ee..b46b8a5 100644
--- a/libgimpwidgets/gimpunitadjustment.c
+++ b/libgimpwidgets/gimpunitadjustment.c
@@ -49,8 +49,9 @@ G_DEFINE_TYPE (GimpUnitAdjustment, gimp_unit_adjustment, GTK_TYPE_ADJUSTMENT);
  * prototypes
  **/
 /* converts from one current unit to another */
-void gimp_unit_adjustment_convert_unit (GimpUnitAdjustment *adj, GimpUnit unit);
-void unit_changed_handler (GimpUnitAdjustment *adj, GimpUnit unit, gpointer userData);
+static void gimp_unit_adjustment_convert_unit (GimpUnitAdjustment *adj, GimpUnit unit);
+/* handler for unit-changed signal from other entries */
+static void unit_changed_handler (GimpUnitAdjustment *adj, GimpUnit unit, gpointer userData);
 
 
 static void
@@ -99,7 +100,7 @@ gimp_unit_adjustment_new (void)
   return g_object_new (GIMP_TYPE_UNIT_ADJUSTMENT, NULL);
 }
 
-void
+static void
 unit_changed_handler (GimpUnitAdjustment *adj, GimpUnit unit, gpointer userData)
 {
   GimpUnitAdjustment *adjustment = GIMP_UNIT_ADJUSTMENT (userData);
@@ -120,7 +121,7 @@ gimp_unit_adjustment_connect (GimpUnitAdjustment *adj, GimpUnitAdjustment *targe
 }
 
 /* converts from one current unit to another */
-void
+static void
 gimp_unit_adjustment_convert_unit (GimpUnitAdjustment *adj, GimpUnit unit)
 {
   gdouble newValue = 0;
diff --git a/libgimpwidgets/gimpwidgets.def b/libgimpwidgets/gimpwidgets.def
index 0fe2e50..7dd9ff3 100644
--- a/libgimpwidgets/gimpwidgets.def
+++ b/libgimpwidgets/gimpwidgets.def
@@ -358,11 +358,38 @@ EXPORTS
        gimp_toggle_button_sensitive_update
        gimp_toggle_button_update
        gimp_uint_adjustment_update
+       gimp_unit_adjustment_connect
+       gimp_unit_adjustment_get_resolution
+       gimp_unit_adjustment_get_type
+       gimp_unit_adjustment_get_value
+       gimp_unit_adjustment_get_value_in_unit
+       gimp_unit_adjustment_new
+       gimp_unit_adjustment_set_resolution
+       gimp_unit_adjustment_set_unit
+       gimp_unit_adjustment_set_value
+       gimp_unit_adjustment_to_string
+       gimp_unit_adjustment_to_string_in_unit
        gimp_unit_combo_box_get_active
        gimp_unit_combo_box_get_type
        gimp_unit_combo_box_new
        gimp_unit_combo_box_new_with_model
        gimp_unit_combo_box_set_active
+       gimp_unit_entry_connect
+       gimp_unit_entry_get_id
+       gimp_unit_entry_new
+       gimp_unit_entry_get_adjustment
+       gimp_unit_entry_get_type
+       gimp_unit_entry_get_value
+       gimp_unit_entry_get_value_in_unit
+       gimp_unit_entry_set_resolution
+       gimp_unit_entry_set_unit
+       gimp_unit_entry_set_value
+       gimp_unit_entry_table_add_entry
+       gimp_unit_entry_table_add_label
+       gimp_unit_entry_table_get_entry
+       gimp_unit_entry_table_get_nth_entry
+       gimp_unit_entry_table_get_type
+       gimp_unit_entry_table_new
        gimp_unit_menu_get_pixel_digits
        gimp_unit_menu_get_type
        gimp_unit_menu_get_unit
@@ -370,6 +397,7 @@ EXPORTS
        gimp_unit_menu_set_pixel_digits
        gimp_unit_menu_set_unit
        gimp_unit_menu_update
+       gimp_unit_parser_parse
        gimp_unit_store_get_has_percent
        gimp_unit_store_get_has_pixels
        gimp_unit_store_get_type


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]