Commit 9e171fcc authored by Tim Janik's avatar Tim Janik Committed by Tim Janik

hum, "adjustment" was a construct property in 1.2 and still needs to be.

Wed Jun 20 04:28:24 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
        construct property in 1.2 and still needs to be.

        * gtk/gtkwidget.c: "composite_child" is not a settable property.
parent 8413ee73
Wed Jun 20 04:28:24 2001 Tim Janik <timj@gtk.org>
* gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
construct property in 1.2 and still needs to be.
* gtk/gtkwidget.c: "composite_child" is not a settable property.
Tue Jun 19 19:13:19 2001 Jonathan Blandford <jrb@redhat.com> Tue Jun 19 19:13:19 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_clear): * gtk/gtkliststore.c (gtk_list_store_clear):
......
Wed Jun 20 04:28:24 2001 Tim Janik <timj@gtk.org>
* gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
construct property in 1.2 and still needs to be.
* gtk/gtkwidget.c: "composite_child" is not a settable property.
Tue Jun 19 19:13:19 2001 Jonathan Blandford <jrb@redhat.com> Tue Jun 19 19:13:19 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_clear): * gtk/gtkliststore.c (gtk_list_store_clear):
......
Wed Jun 20 04:28:24 2001 Tim Janik <timj@gtk.org>
* gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
construct property in 1.2 and still needs to be.
* gtk/gtkwidget.c: "composite_child" is not a settable property.
Tue Jun 19 19:13:19 2001 Jonathan Blandford <jrb@redhat.com> Tue Jun 19 19:13:19 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_clear): * gtk/gtkliststore.c (gtk_list_store_clear):
......
Wed Jun 20 04:28:24 2001 Tim Janik <timj@gtk.org>
* gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
construct property in 1.2 and still needs to be.
* gtk/gtkwidget.c: "composite_child" is not a settable property.
Tue Jun 19 19:13:19 2001 Jonathan Blandford <jrb@redhat.com> Tue Jun 19 19:13:19 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_clear): * gtk/gtkliststore.c (gtk_list_store_clear):
......
Wed Jun 20 04:28:24 2001 Tim Janik <timj@gtk.org>
* gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
construct property in 1.2 and still needs to be.
* gtk/gtkwidget.c: "composite_child" is not a settable property.
Tue Jun 19 19:13:19 2001 Jonathan Blandford <jrb@redhat.com> Tue Jun 19 19:13:19 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_clear): * gtk/gtkliststore.c (gtk_list_store_clear):
......
Wed Jun 20 04:28:24 2001 Tim Janik <timj@gtk.org>
* gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
construct property in 1.2 and still needs to be.
* gtk/gtkwidget.c: "composite_child" is not a settable property.
Tue Jun 19 19:13:19 2001 Jonathan Blandford <jrb@redhat.com> Tue Jun 19 19:13:19 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_clear): * gtk/gtkliststore.c (gtk_list_store_clear):
......
Wed Jun 20 04:28:24 2001 Tim Janik <timj@gtk.org>
* gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
construct property in 1.2 and still needs to be.
* gtk/gtkwidget.c: "composite_child" is not a settable property.
Tue Jun 19 19:13:19 2001 Jonathan Blandford <jrb@redhat.com> Tue Jun 19 19:13:19 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_clear): * gtk/gtkliststore.c (gtk_list_store_clear):
......
...@@ -260,7 +260,7 @@ gtk_range_class_init (GtkRangeClass *class) ...@@ -260,7 +260,7 @@ gtk_range_class_init (GtkRangeClass *class)
_("Adjustment"), _("Adjustment"),
_("The GtkAdjustment that contains the current value of this range object"), _("The GtkAdjustment that contains the current value of this range object"),
GTK_TYPE_ADJUSTMENT, GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_INVERTED, PROP_INVERTED,
......
...@@ -387,7 +387,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -387,7 +387,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
_("The name of the widget"), _("The name of the widget"),
NULL, NULL,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_PARENT, PROP_PARENT,
g_param_spec_object ("parent", g_param_spec_object ("parent",
...@@ -395,7 +394,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -395,7 +394,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
_("The parent widget of this widget. Must be a Container widget."), _("The parent widget of this widget. Must be a Container widget."),
GTK_TYPE_CONTAINER, GTK_TYPE_CONTAINER,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_X, PROP_X,
g_param_spec_int ("x", g_param_spec_int ("x",
...@@ -405,7 +403,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -405,7 +403,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
G_MAXINT, G_MAXINT,
-1, -1,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_Y, PROP_Y,
g_param_spec_int ("y", g_param_spec_int ("y",
...@@ -415,7 +412,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -415,7 +412,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
G_MAXINT, G_MAXINT,
-1, -1,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_WIDTH, PROP_WIDTH,
g_param_spec_int ("width", g_param_spec_int ("width",
...@@ -425,7 +421,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -425,7 +421,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
G_MAXINT, G_MAXINT,
-1, -1,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_HEIGHT, PROP_HEIGHT,
g_param_spec_int ("height", g_param_spec_int ("height",
...@@ -435,7 +430,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -435,7 +430,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
G_MAXINT, G_MAXINT,
-1, -1,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_VISIBLE, PROP_VISIBLE,
g_param_spec_boolean ("visible", g_param_spec_boolean ("visible",
...@@ -443,7 +437,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -443,7 +437,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
_("Whether the widget is visible"), _("Whether the widget is visible"),
FALSE, FALSE,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_SENSITIVE, PROP_SENSITIVE,
g_param_spec_boolean ("sensitive", g_param_spec_boolean ("sensitive",
...@@ -451,7 +444,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -451,7 +444,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
_("Whether the widget responds to input"), _("Whether the widget responds to input"),
TRUE, TRUE,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_APP_PAINTABLE, PROP_APP_PAINTABLE,
g_param_spec_boolean ("app_paintable", g_param_spec_boolean ("app_paintable",
...@@ -459,7 +451,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -459,7 +451,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
_("Whether the application will paint directly on the widget"), _("Whether the application will paint directly on the widget"),
FALSE, FALSE,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_CAN_FOCUS, PROP_CAN_FOCUS,
g_param_spec_boolean ("can_focus", g_param_spec_boolean ("can_focus",
...@@ -467,7 +458,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -467,7 +458,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
_("Whether the widget can accept the input focus"), _("Whether the widget can accept the input focus"),
FALSE, FALSE,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_HAS_FOCUS, PROP_HAS_FOCUS,
g_param_spec_boolean ("has_focus", g_param_spec_boolean ("has_focus",
...@@ -475,7 +465,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -475,7 +465,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
_("Whether the widget has the input focus"), _("Whether the widget has the input focus"),
FALSE, FALSE,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_CAN_DEFAULT, PROP_CAN_DEFAULT,
g_param_spec_boolean ("can_default", g_param_spec_boolean ("can_default",
...@@ -483,7 +472,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -483,7 +472,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
_("Whether the widget can be the default widget"), _("Whether the widget can be the default widget"),
FALSE, FALSE,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_HAS_DEFAULT, PROP_HAS_DEFAULT,
g_param_spec_boolean ("has_default", g_param_spec_boolean ("has_default",
...@@ -491,7 +479,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -491,7 +479,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
_("Whether the widget is the default widget"), _("Whether the widget is the default widget"),
FALSE, FALSE,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_RECEIVES_DEFAULT, PROP_RECEIVES_DEFAULT,
g_param_spec_boolean ("receives_default", g_param_spec_boolean ("receives_default",
...@@ -499,16 +486,13 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -499,16 +486,13 @@ gtk_widget_class_init (GtkWidgetClass *klass)
_("If TRUE, the widget will receive the default action when it is focused."), _("If TRUE, the widget will receive the default action when it is focused."),
FALSE, FALSE,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_COMPOSITE_CHILD, PROP_COMPOSITE_CHILD,
g_param_spec_boolean ("composite_child", g_param_spec_boolean ("composite_child",
_("Composite child"), _("Composite child"),
_("Whether the widget is composed of other widgets"), _("Whether the widget is composed of other widgets"),
FALSE, FALSE,
G_PARAM_READWRITE)); G_PARAM_READABLE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_STYLE, PROP_STYLE,
g_param_spec_object ("style", g_param_spec_object ("style",
...@@ -516,7 +500,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -516,7 +500,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
_("The style of the widget, which contains information about how it will look (colors etc)."), _("The style of the widget, which contains information about how it will look (colors etc)."),
GTK_TYPE_STYLE, GTK_TYPE_STYLE,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_EVENTS, PROP_EVENTS,
g_param_spec_flags ("events", g_param_spec_flags ("events",
...@@ -525,7 +508,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) ...@@ -525,7 +508,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
GDK_TYPE_EVENT_MASK, GDK_TYPE_EVENT_MASK,
GDK_STRUCTURE_MASK, GDK_STRUCTURE_MASK,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_EXTENSION_EVENTS, PROP_EXTENSION_EVENTS,
g_param_spec_enum ("extension_events", g_param_spec_enum ("extension_events",
...@@ -1138,12 +1120,6 @@ gtk_widget_set_property (GObject *object, ...@@ -1138,12 +1120,6 @@ gtk_widget_set_property (GObject *object,
else else
GTK_WIDGET_UNSET_FLAGS (widget, GTK_RECEIVES_DEFAULT); GTK_WIDGET_UNSET_FLAGS (widget, GTK_RECEIVES_DEFAULT);
break; break;
case PROP_COMPOSITE_CHILD:
if (g_value_get_boolean (value))
GTK_WIDGET_SET_FLAGS (widget, GTK_COMPOSITE_CHILD);
else
GTK_WIDGET_UNSET_FLAGS (widget, GTK_COMPOSITE_CHILD);
break;
case PROP_STYLE: case PROP_STYLE:
gtk_widget_set_style (widget, g_value_get_object (value)); gtk_widget_set_style (widget, g_value_get_object (value));
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment