]> Pileus Git - ~andy/gtk/commitdiff
Document properties as new since 2.4. (#156101, Billy Biggs)
authorMatthias Clasen <mclasen@redhat.com>
Mon, 27 Dec 2004 06:34:10 +0000 (06:34 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 27 Dec 2004 06:34:10 +0000 (06:34 +0000)
2004-12-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
properties as new since 2.4.  (#156101, Billy Biggs)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkadjustment.c

index 4ec7e04753955fa5eca9b3ed6bab1b9219b41025..25c3ba428ac22530728516ff10d629aa08262155 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
+       properties as new since 2.4.  (#156101, Billy Biggs)
+
        * configure.in: Add a warning about the linux-fb 
        target.  (#155488, Zeeshan Ali)
 
index 4ec7e04753955fa5eca9b3ed6bab1b9219b41025..25c3ba428ac22530728516ff10d629aa08262155 100644 (file)
@@ -1,5 +1,8 @@
 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
+       properties as new since 2.4.  (#156101, Billy Biggs)
+
        * configure.in: Add a warning about the linux-fb 
        target.  (#155488, Zeeshan Ali)
 
index 4ec7e04753955fa5eca9b3ed6bab1b9219b41025..25c3ba428ac22530728516ff10d629aa08262155 100644 (file)
@@ -1,5 +1,8 @@
 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
+       properties as new since 2.4.  (#156101, Billy Biggs)
+
        * configure.in: Add a warning about the linux-fb 
        target.  (#155488, Zeeshan Ali)
 
index 4ec7e04753955fa5eca9b3ed6bab1b9219b41025..25c3ba428ac22530728516ff10d629aa08262155 100644 (file)
@@ -1,5 +1,8 @@
 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
+       properties as new since 2.4.  (#156101, Billy Biggs)
+
        * configure.in: Add a warning about the linux-fb 
        target.  (#155488, Zeeshan Ali)
 
index 8daabb59e95aaa2642dd139d4947b1349623077c..8c2ac74d501c470bba087f8e2827d289a0258266 100644 (file)
@@ -102,6 +102,13 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class)
   class->changed = NULL;
   class->value_changed = NULL;
 
+  /**
+   * GtkAdjustment:value:
+   * 
+   * The value of the adjustment.
+   * 
+   * Since: 2.4
+   */
   g_object_class_install_property (gobject_class,
                                    PROP_VALUE,
                                    g_param_spec_double ("value",
@@ -112,6 +119,13 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class)
                                                        0.0, 
                                                        G_PARAM_READWRITE));
   
+  /**
+   * GtkAdjustment:lower:
+   * 
+   * The minimum value of the adjustment.
+   * 
+   * Since: 2.4
+   */
   g_object_class_install_property (gobject_class,
                                    PROP_LOWER,
                                    g_param_spec_double ("lower",
@@ -122,6 +136,16 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class)
                                                        0.0,
                                                        G_PARAM_READWRITE));
   
+  /**
+   * GtkAdjustment:upper:
+   * 
+   * The maximum value of the adjustment. 
+   * Note that values will be restricted by 
+   * <literal>upper - page-size</literal> if the page-size 
+   * property is nonzero.
+   *
+   * Since: 2.4
+   */
   g_object_class_install_property (gobject_class,
                                    PROP_UPPER,
                                    g_param_spec_double ("upper",
@@ -132,6 +156,13 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class)
                                                        0.0, 
                                                        G_PARAM_READWRITE));
   
+  /**
+   * GtkAdjustment:step-increment:
+   * 
+   * The step increment of the adjustment.
+   * 
+   * Since: 2.4
+   */
   g_object_class_install_property (gobject_class,
                                    PROP_STEP_INCREMENT,
                                    g_param_spec_double ("step-increment",
@@ -142,6 +173,13 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class)
                                                        0.0, 
                                                        G_PARAM_READWRITE));
   
+  /**
+   * GtkAdjustment:page-increment:
+   * 
+   * The page increment of the adjustment.
+   * 
+   * Since: 2.4
+   */
   g_object_class_install_property (gobject_class,
                                    PROP_PAGE_INCREMENT,
                                    g_param_spec_double ("page-increment",
@@ -152,6 +190,16 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class)
                                                        0.0, 
                                                        G_PARAM_READWRITE));
   
+  /**
+   * GtkAdjustment:page-size:
+   * 
+   * The page size of the adjustment. 
+   * Note that the page-size is irrelevant and should be set to zero
+   * if the adjustment is used for a simple scalar value, e.g. in a 
+   * #GtkSpinButton.
+   * 
+   * Since: 2.4
+   */
   g_object_class_install_property (gobject_class,
                                    PROP_PAGE_SIZE,
                                    g_param_spec_double ("page-size",