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:
Tim Janik
2001-09-10 14:59:49 +00:00
committed by Tim Janik
parent 57a49aae16
commit e083ca9e45
13 changed files with 75 additions and 22 deletions

View File

@ -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);