mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Fixed a bug in set_property() (setting "window-placement-set" could result
* gtk/gtkscrolledwindow.c: Fixed a bug in set_property() (setting "window-placement-set" could result in a crash because of boolean/enum mixup)
This commit is contained in:
parent
8387869a5d
commit
797fabbe31
@ -1,3 +1,12 @@
|
||||
2006-12-16 Tristan Van Berkom <tvb@gnome.org>
|
||||
|
||||
* gtk/gtkmessagedialog.c: Added return_if_fail (image) to
|
||||
gtk_message_dialog_set_image ()
|
||||
|
||||
* gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
|
||||
(setting "window-placement-set" could result in a crash because
|
||||
of boolean/enum mixup)
|
||||
|
||||
2006-12-15 Federico Mena Quintero <federico@novell.com>
|
||||
|
||||
Merged from gtk-2-10:
|
||||
|
@ -825,7 +825,7 @@ gtk_scrolled_window_set_property (GObject *object,
|
||||
break;
|
||||
case PROP_WINDOW_PLACEMENT_SET:
|
||||
gtk_scrolled_window_set_placement_set (scrolled_window,
|
||||
g_value_get_enum (value),
|
||||
g_value_get_boolean (value),
|
||||
TRUE);
|
||||
break;
|
||||
case PROP_SHADOW_TYPE:
|
||||
|
Loading…
Reference in New Issue
Block a user