forked from AuroraMiddleware/gtk
fix xscale and yscale behaviour which havoc broke. they have to default to
Mon Sep 10 16:55:49 2001 Tim Janik <timj@gtk.org> * gtk/gtkalignment.c (gtk_alignment_init): fix xscale and yscale behaviour which havoc broke. they have to default to 1.0 for expand behaviour. * gtk/gtkwindow.c (gtk_window_get_property): don't cast NULL objects.
This commit is contained in:
parent
57a49aae16
commit
e083ca9e45
@ -1,3 +1,11 @@
|
||||
Mon Sep 10 16:55:49 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkalignment.c (gtk_alignment_init): fix xscale and yscale
|
||||
behaviour which havoc broke. they have to default to 1.0 for
|
||||
expand behaviour.
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_get_property): don't cast NULL objects.
|
||||
|
||||
2001-09-10 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* gtk/gtkstyle.c (_gtk_style_peek_property_value)
|
||||
|
@ -1,3 +1,11 @@
|
||||
Mon Sep 10 16:55:49 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkalignment.c (gtk_alignment_init): fix xscale and yscale
|
||||
behaviour which havoc broke. they have to default to 1.0 for
|
||||
expand behaviour.
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_get_property): don't cast NULL objects.
|
||||
|
||||
2001-09-10 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* gtk/gtkstyle.c (_gtk_style_peek_property_value)
|
||||
|
@ -1,3 +1,11 @@
|
||||
Mon Sep 10 16:55:49 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkalignment.c (gtk_alignment_init): fix xscale and yscale
|
||||
behaviour which havoc broke. they have to default to 1.0 for
|
||||
expand behaviour.
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_get_property): don't cast NULL objects.
|
||||
|
||||
2001-09-10 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* gtk/gtkstyle.c (_gtk_style_peek_property_value)
|
||||
|
@ -1,3 +1,11 @@
|
||||
Mon Sep 10 16:55:49 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkalignment.c (gtk_alignment_init): fix xscale and yscale
|
||||
behaviour which havoc broke. they have to default to 1.0 for
|
||||
expand behaviour.
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_get_property): don't cast NULL objects.
|
||||
|
||||
2001-09-10 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* gtk/gtkstyle.c (_gtk_style_peek_property_value)
|
||||
|
@ -1,3 +1,11 @@
|
||||
Mon Sep 10 16:55:49 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkalignment.c (gtk_alignment_init): fix xscale and yscale
|
||||
behaviour which havoc broke. they have to default to 1.0 for
|
||||
expand behaviour.
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_get_property): don't cast NULL objects.
|
||||
|
||||
2001-09-10 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* gtk/gtkstyle.c (_gtk_style_peek_property_value)
|
||||
|
@ -1,3 +1,11 @@
|
||||
Mon Sep 10 16:55:49 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkalignment.c (gtk_alignment_init): fix xscale and yscale
|
||||
behaviour which havoc broke. they have to default to 1.0 for
|
||||
expand behaviour.
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_get_property): don't cast NULL objects.
|
||||
|
||||
2001-09-10 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* gtk/gtkstyle.c (_gtk_style_peek_property_value)
|
||||
|
@ -1,3 +1,11 @@
|
||||
Mon Sep 10 16:55:49 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkalignment.c (gtk_alignment_init): fix xscale and yscale
|
||||
behaviour which havoc broke. they have to default to 1.0 for
|
||||
expand behaviour.
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_get_property): don't cast NULL objects.
|
||||
|
||||
2001-09-10 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* gtk/gtkstyle.c (_gtk_style_peek_property_value)
|
||||
|
@ -225,6 +225,12 @@ has the focus.
|
||||
|
||||
@clist: The #GtkCList widget to check.
|
||||
|
||||
<!-- ##### MACRO GTK_HAVE_CONTAINER_FOCUS_ADJUSTMENTS ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### MACRO GTK_ICON_SIZE_BUTTON ##### -->
|
||||
<para>
|
||||
|
||||
@ -1785,6 +1791,13 @@ arrow.
|
||||
@show_toggle_indicator: unused
|
||||
@show_submenu_indicator: whether to show the arrow or not
|
||||
|
||||
<!-- ##### MACRO gtk_notebook_set_page ##### -->
|
||||
<para>
|
||||
</para>
|
||||
|
||||
@notebook:
|
||||
@page_num:
|
||||
|
||||
<!-- ##### FUNCTION gtk_object_arg_get ##### -->
|
||||
<para>
|
||||
Private function to get an argument and argument info from an object.
|
||||
|
@ -38,13 +38,6 @@ GtkContainer
|
||||
@pspec:
|
||||
|
||||
|
||||
<!-- ##### MACRO GTK_HAVE_CONTAINER_FOCUS_ADJUSTMENTS ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
<!-- ##### MACRO gtk_container_border_width ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -132,15 +132,6 @@ Deprecated compatibility macro.
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### MACRO gtk_notebook_set_page ##### -->
|
||||
<para>
|
||||
</para>
|
||||
|
||||
<!-- # Unused Parameters # -->
|
||||
@notebook:
|
||||
@page_num:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_notebook_next_page ##### -->
|
||||
<para>
|
||||
</para>
|
||||
|
@ -495,6 +495,7 @@ This can later be composited together with other
|
||||
#GtkRcStyle structures to form a #GtkStyle.
|
||||
</para>
|
||||
|
||||
@parent_instance:
|
||||
@name:
|
||||
@bg_pixmap_name:
|
||||
@font_desc:
|
||||
|
@ -122,7 +122,7 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
|
||||
_("Value between 0.0 and 1.0 to indicate X scale"),
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
1.0,
|
||||
G_PARAM_READABLE | G_PARAM_WRITABLE));
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_YSCALE,
|
||||
@ -131,7 +131,7 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
|
||||
_("Value between 0.0 and 1.0 to indicate Y scale"),
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
1.0,
|
||||
G_PARAM_READABLE | G_PARAM_WRITABLE));
|
||||
}
|
||||
|
||||
@ -142,8 +142,8 @@ gtk_alignment_init (GtkAlignment *alignment)
|
||||
|
||||
alignment->xalign = 0.5;
|
||||
alignment->yalign = 0.5;
|
||||
alignment->xscale = 0.0;
|
||||
alignment->yscale = 0.0;
|
||||
alignment->xscale = 1.0;
|
||||
alignment->yscale = 1.0;
|
||||
}
|
||||
|
||||
GtkWidget*
|
||||
|
@ -742,8 +742,7 @@ gtk_window_get_property (GObject *object,
|
||||
g_value_set_boolean (value, window->destroy_with_parent);
|
||||
break;
|
||||
case PROP_ICON:
|
||||
g_value_set_object (value,
|
||||
G_OBJECT (gtk_window_get_icon (window)));
|
||||
g_value_set_object (value, gtk_window_get_icon (window));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
|
Loading…
Reference in New Issue
Block a user