summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--ChangeLog.pre-2-109
-rw-r--r--ChangeLog.pre-2-29
-rw-r--r--ChangeLog.pre-2-49
-rw-r--r--ChangeLog.pre-2-69
-rw-r--r--ChangeLog.pre-2-89
-rw-r--r--gtk/gtkcontainer.c30
-rw-r--r--gtk/gtkwidget.c12
8 files changed, 75 insertions, 21 deletions
diff --git a/ChangeLog b/ChangeLog
index 4c0ea57ec0..19e9ebef4b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2002-05-14 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcontainer.c (gtk_container_class_install_child_property):
+ (gtk_container_class_find_child_property):
+ (gtk_container_class_list_child_properties):
+ * gtk/gtkwidget.c (gtk_widget_class_find_style_property):
+ (gtk_widget_class_list_style_properties): Change parameter names
+ to match the header file and the documentation.
+
2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtkfilesel.c
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 4c0ea57ec0..19e9ebef4b 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,12 @@
+2002-05-14 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcontainer.c (gtk_container_class_install_child_property):
+ (gtk_container_class_find_child_property):
+ (gtk_container_class_list_child_properties):
+ * gtk/gtkwidget.c (gtk_widget_class_find_style_property):
+ (gtk_widget_class_list_style_properties): Change parameter names
+ to match the header file and the documentation.
+
2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtkfilesel.c
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 4c0ea57ec0..19e9ebef4b 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,12 @@
+2002-05-14 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcontainer.c (gtk_container_class_install_child_property):
+ (gtk_container_class_find_child_property):
+ (gtk_container_class_list_child_properties):
+ * gtk/gtkwidget.c (gtk_widget_class_find_style_property):
+ (gtk_widget_class_list_style_properties): Change parameter names
+ to match the header file and the documentation.
+
2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtkfilesel.c
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 4c0ea57ec0..19e9ebef4b 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,12 @@
+2002-05-14 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcontainer.c (gtk_container_class_install_child_property):
+ (gtk_container_class_find_child_property):
+ (gtk_container_class_list_child_properties):
+ * gtk/gtkwidget.c (gtk_widget_class_find_style_property):
+ (gtk_widget_class_list_style_properties): Change parameter names
+ to match the header file and the documentation.
+
2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtkfilesel.c
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 4c0ea57ec0..19e9ebef4b 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,12 @@
+2002-05-14 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcontainer.c (gtk_container_class_install_child_property):
+ (gtk_container_class_find_child_property):
+ (gtk_container_class_list_child_properties):
+ * gtk/gtkwidget.c (gtk_widget_class_find_style_property):
+ (gtk_widget_class_list_style_properties): Change parameter names
+ to match the header file and the documentation.
+
2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtkfilesel.c
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 4c0ea57ec0..19e9ebef4b 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,12 @@
+2002-05-14 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcontainer.c (gtk_container_class_install_child_property):
+ (gtk_container_class_find_child_property):
+ (gtk_container_class_list_child_properties):
+ * gtk/gtkwidget.c (gtk_widget_class_find_style_property):
+ (gtk_widget_class_list_style_properties): Change parameter names
+ to match the header file and the documentation.
+
2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtkfilesel.c
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index e02d3ef3e8..a72ae9028e 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -625,37 +625,37 @@ gtk_container_child_get (GtkContainer *container,
}
void
-gtk_container_class_install_child_property (GtkContainerClass *class,
+gtk_container_class_install_child_property (GtkContainerClass *cclass,
guint property_id,
GParamSpec *pspec)
{
- g_return_if_fail (GTK_IS_CONTAINER_CLASS (class));
+ g_return_if_fail (GTK_IS_CONTAINER_CLASS (cclass));
g_return_if_fail (G_IS_PARAM_SPEC (pspec));
if (pspec->flags & G_PARAM_WRITABLE)
- g_return_if_fail (class->set_child_property != NULL);
+ g_return_if_fail (cclass->set_child_property != NULL);
if (pspec->flags & G_PARAM_READABLE)
- g_return_if_fail (class->get_child_property != NULL);
+ g_return_if_fail (cclass->get_child_property != NULL);
g_return_if_fail (property_id > 0);
g_return_if_fail (PARAM_SPEC_PARAM_ID (pspec) == 0); /* paranoid */
if (pspec->flags & (G_PARAM_CONSTRUCT | G_PARAM_CONSTRUCT_ONLY))
g_return_if_fail ((pspec->flags & (G_PARAM_CONSTRUCT | G_PARAM_CONSTRUCT_ONLY)) == 0);
- if (g_param_spec_pool_lookup (_gtk_widget_child_property_pool, pspec->name, G_OBJECT_CLASS_TYPE (class), FALSE))
+ if (g_param_spec_pool_lookup (_gtk_widget_child_property_pool, pspec->name, G_OBJECT_CLASS_TYPE (cclass), FALSE))
{
g_warning (G_STRLOC ": class `%s' already contains a child property named `%s'",
- G_OBJECT_CLASS_NAME (class),
+ G_OBJECT_CLASS_NAME (cclass),
pspec->name);
return;
}
g_param_spec_ref (pspec);
g_param_spec_sink (pspec);
PARAM_SPEC_SET_PARAM_ID (pspec, property_id);
- g_param_spec_pool_insert (_gtk_widget_child_property_pool, pspec, G_OBJECT_CLASS_TYPE (class));
+ g_param_spec_pool_insert (_gtk_widget_child_property_pool, pspec, G_OBJECT_CLASS_TYPE (cclass));
}
/**
* gtk_container_class_find_child_property:
- * @class: a #GtkContainerClass
+ * @cclass: a #GtkContainerClass
* @property_name: the name of the child property to find
* @returns: the #GParamSpec of the child property or %NULL if @class has ho
* child property with that name.
@@ -663,37 +663,37 @@ gtk_container_class_install_child_property (GtkContainerClass *class,
* Finds a child property of a container class by name.
*/
GParamSpec*
-gtk_container_class_find_child_property (GObjectClass *class,
+gtk_container_class_find_child_property (GObjectClass *cclass,
const gchar *property_name)
{
- g_return_val_if_fail (GTK_IS_CONTAINER_CLASS (class), NULL);
+ g_return_val_if_fail (GTK_IS_CONTAINER_CLASS (cclass), NULL);
g_return_val_if_fail (property_name != NULL, NULL);
return g_param_spec_pool_lookup (_gtk_widget_child_property_pool,
property_name,
- G_OBJECT_CLASS_TYPE (class),
+ G_OBJECT_CLASS_TYPE (cclass),
TRUE);
}
/**
* gtk_container_class_list_child_properties:
- * @class: a #GtkContainerClass
+ * @cclass: a #GtkContainerClass
* @n_properties: location to return the number of child properties found
* @returns: an newly allocated array of #GParamSpec*. The array must be freed with g_free().
*
* Returns all child properties of a container class.
*/
GParamSpec**
-gtk_container_class_list_child_properties (GObjectClass *class,
+gtk_container_class_list_child_properties (GObjectClass *cclass,
guint *n_properties)
{
GParamSpec **pspecs;
guint n;
- g_return_val_if_fail (GTK_IS_CONTAINER_CLASS (class), NULL);
+ g_return_val_if_fail (GTK_IS_CONTAINER_CLASS (cclass), NULL);
pspecs = g_param_spec_pool_list (_gtk_widget_child_property_pool,
- G_OBJECT_CLASS_TYPE (class),
+ G_OBJECT_CLASS_TYPE (cclass),
&n);
if (n_properties)
*n_properties = n;
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 50a0f5fc32..463f765e97 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -6246,7 +6246,7 @@ gtk_widget_class_install_style_property (GtkWidgetClass *class,
/**
* gtk_widget_class_find_style_property:
- * @class: a #GtkWidgetClass
+ * @klass: a #GtkWidgetClass
* @property_name: the name of the style property to find
* @returns: the #GParamSpec of the style property or %NULL if @class has ho
* style property with that name.
@@ -6254,34 +6254,34 @@ gtk_widget_class_install_style_property (GtkWidgetClass *class,
* Finds a style property of a widget class by name.
*/
GParamSpec*
-gtk_widget_class_find_style_property (GtkWidgetClass *class,
+gtk_widget_class_find_style_property (GtkWidgetClass *klass,
const gchar *property_name)
{
g_return_val_if_fail (property_name != NULL, NULL);
return g_param_spec_pool_lookup (style_property_spec_pool,
property_name,
- G_OBJECT_CLASS_TYPE (class),
+ G_OBJECT_CLASS_TYPE (klass),
TRUE);
}
/**
* gtk_widget_class_list_style_properties:
- * @class: a #GtkWidgetClass
+ * @klass: a #GtkWidgetClass
* @n_properties: location to return the number of style properties found
* @returns: an newly allocated array of #GParamSpec*. The array must be freed with g_free().
*
* Returns all style properties of a widget class.
*/
GParamSpec**
-gtk_widget_class_list_style_properties (GtkWidgetClass *class,
+gtk_widget_class_list_style_properties (GtkWidgetClass *klass,
guint *n_properties)
{
GParamSpec **pspecs;
guint n;
pspecs = g_param_spec_pool_list (style_property_spec_pool,
- G_OBJECT_CLASS_TYPE (class),
+ G_OBJECT_CLASS_TYPE (klass),
&n);
if (n_properties)
*n_properties = n;