diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-06-24 21:55:40 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-06-24 21:55:40 +0000 |
commit | 3ec234a6c5ae2c763913368133b2c3d37f3b19d9 (patch) | |
tree | fb6f3022fa573f5d92829aeff17da3ff28bb8b0a | |
parent | 7395e4dacd407dc03c1ab80a00d3ac43bd7ec65e (diff) | |
download | gtk+-3ec234a6c5ae2c763913368133b2c3d37f3b19d9.tar.gz |
Add a blurb for shadow_type.
2003-06-24 Matthias Clasen <maclas@gmx.de>
* gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for shadow_type.
* gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser):
(gtk_widget_class_list_style_properties): Use same parameter names as in
header (to silence gtk-doc).
* gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments.
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 10 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 10 | ||||
-rw-r--r-- | gtk/gtkalignment.c | 4 | ||||
-rw-r--r-- | gtk/gtkspinbutton.c | 4 | ||||
-rw-r--r-- | gtk/gtkwidget.c | 20 |
8 files changed, 65 insertions, 13 deletions
@@ -1,3 +1,13 @@ +2003-06-24 Matthias Clasen <maclas@gmx.de> + + * gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for shadow_type. + + * gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser): + (gtk_widget_class_list_style_properties): Use same parameter names as in + header (to silence gtk-doc). + + * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments. + Tue Jun 24 20:00:45 BST 2003 Tony Gale <gale@gtk.org> * docs/faq/gtk-faq.sgml: Thread support updates diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 8c50df5505..b63f063901 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,13 @@ +2003-06-24 Matthias Clasen <maclas@gmx.de> + + * gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for shadow_type. + + * gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser): + (gtk_widget_class_list_style_properties): Use same parameter names as in + header (to silence gtk-doc). + + * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments. + Tue Jun 24 20:00:45 BST 2003 Tony Gale <gale@gtk.org> * docs/faq/gtk-faq.sgml: Thread support updates diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 8c50df5505..b63f063901 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,13 @@ +2003-06-24 Matthias Clasen <maclas@gmx.de> + + * gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for shadow_type. + + * gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser): + (gtk_widget_class_list_style_properties): Use same parameter names as in + header (to silence gtk-doc). + + * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments. + Tue Jun 24 20:00:45 BST 2003 Tony Gale <gale@gtk.org> * docs/faq/gtk-faq.sgml: Thread support updates diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 8c50df5505..b63f063901 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,13 @@ +2003-06-24 Matthias Clasen <maclas@gmx.de> + + * gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for shadow_type. + + * gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser): + (gtk_widget_class_list_style_properties): Use same parameter names as in + header (to silence gtk-doc). + + * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments. + Tue Jun 24 20:00:45 BST 2003 Tony Gale <gale@gtk.org> * docs/faq/gtk-faq.sgml: Thread support updates diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 8c50df5505..b63f063901 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,13 @@ +2003-06-24 Matthias Clasen <maclas@gmx.de> + + * gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for shadow_type. + + * gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser): + (gtk_widget_class_list_style_properties): Use same parameter names as in + header (to silence gtk-doc). + + * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments. + Tue Jun 24 20:00:45 BST 2003 Tony Gale <gale@gtk.org> * docs/faq/gtk-faq.sgml: Thread support updates diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c index f27a13b7d8..01ba014188 100644 --- a/gtk/gtkalignment.c +++ b/gtk/gtkalignment.c @@ -519,7 +519,7 @@ gtk_alignment_size_allocate (GtkWidget *widget, /** * gtk_alignment_set_padding: - * @alignment a #GtkAlignment + * @alignment: a #GtkAlignment * @padding_top: the padding at the top of the widget * @padding_bottom: the padding at the bottom of the widget * @padding_left: the padding at the left of the widget @@ -579,7 +579,7 @@ gtk_alignment_set_padding (GtkAlignment *alignment, /** * gtk_alignment_get_padding: - * @alignment a #GtkAlignment + * @alignment: a #GtkAlignment * @padding_top: location to store the padding for the top of the widget, or %NULL * @padding_bottom: location to store the padding for the bottom of the widget, or %NULL * @padding_left: location to store the padding for the left of the widget, or %NULL diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index a2aa1352b4..72095ab3ac 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -306,7 +306,9 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class) G_PARAM_READWRITE)); gtk_widget_class_install_style_property_parser (widget_class, - g_param_spec_enum ("shadow_type", "Shadow Type", NULL, + g_param_spec_enum ("shadow_type", + "Shadow Type", + _("Style of bevel around the spin button"), GTK_TYPE_SHADOW_TYPE, GTK_SHADOW_IN, G_PARAM_READABLE), diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 304aa9a095..760bcea82e 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -6515,26 +6515,26 @@ gtk_widget_unref (GtkWidget *widget) /** * gtk_widget_class_install_style_property_parser: - * @class: a #GtkWidgetClass + * @klass: a #GtkWidgetClass * @pspec: the #GParamSpec for the style property * @parser: the parser for the style property * * Installs a style property on a widget class. **/ void -gtk_widget_class_install_style_property_parser (GtkWidgetClass *class, +gtk_widget_class_install_style_property_parser (GtkWidgetClass *klass, GParamSpec *pspec, GtkRcPropertyParser parser) { - g_return_if_fail (GTK_IS_WIDGET_CLASS (class)); + g_return_if_fail (GTK_IS_WIDGET_CLASS (klass)); g_return_if_fail (G_IS_PARAM_SPEC (pspec)); g_return_if_fail (pspec->flags & G_PARAM_READABLE); g_return_if_fail (!(pspec->flags & (G_PARAM_CONSTRUCT_ONLY | G_PARAM_CONSTRUCT))); - if (g_param_spec_pool_lookup (style_property_spec_pool, pspec->name, G_OBJECT_CLASS_TYPE (class), FALSE)) + if (g_param_spec_pool_lookup (style_property_spec_pool, pspec->name, G_OBJECT_CLASS_TYPE (klass), FALSE)) { g_warning (G_STRLOC ": class `%s' already contains a style property named `%s'", - G_OBJECT_CLASS_NAME (class), + G_OBJECT_CLASS_NAME (klass), pspec->name); return; } @@ -6542,29 +6542,29 @@ gtk_widget_class_install_style_property_parser (GtkWidgetClass *class, g_param_spec_ref (pspec); g_param_spec_sink (pspec); g_param_spec_set_qdata (pspec, quark_property_parser, (gpointer) parser); - g_param_spec_pool_insert (style_property_spec_pool, pspec, G_OBJECT_CLASS_TYPE (class)); + g_param_spec_pool_insert (style_property_spec_pool, pspec, G_OBJECT_CLASS_TYPE (klass)); } /** * gtk_widget_class_install_style_property: - * @class: a #GtkWidgetClass + * @klass: a #GtkWidgetClass * @pspec: the #GParamSpec for the property * * Installs a style property on a widget class. The parser for the * style property is determined by the value type of @pspec. **/ void -gtk_widget_class_install_style_property (GtkWidgetClass *class, +gtk_widget_class_install_style_property (GtkWidgetClass *klass, GParamSpec *pspec) { GtkRcPropertyParser parser; - g_return_if_fail (GTK_IS_WIDGET_CLASS (class)); + g_return_if_fail (GTK_IS_WIDGET_CLASS (klass)); g_return_if_fail (G_IS_PARAM_SPEC (pspec)); parser = _gtk_rc_property_parser_from_type (G_PARAM_SPEC_VALUE_TYPE (pspec)); - gtk_widget_class_install_style_property_parser (class, pspec, parser); + gtk_widget_class_install_style_property_parser (klass, pspec, parser); } /** |