forked from AuroraMiddleware/gtk
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>
|
2006-12-15 Federico Mena Quintero <federico@novell.com>
|
||||||
|
|
||||||
Merged from gtk-2-10:
|
Merged from gtk-2-10:
|
||||||
|
@ -825,7 +825,7 @@ gtk_scrolled_window_set_property (GObject *object,
|
|||||||
break;
|
break;
|
||||||
case PROP_WINDOW_PLACEMENT_SET:
|
case PROP_WINDOW_PLACEMENT_SET:
|
||||||
gtk_scrolled_window_set_placement_set (scrolled_window,
|
gtk_scrolled_window_set_placement_set (scrolled_window,
|
||||||
g_value_get_enum (value),
|
g_value_get_boolean (value),
|
||||||
TRUE);
|
TRUE);
|
||||||
break;
|
break;
|
||||||
case PROP_SHADOW_TYPE:
|
case PROP_SHADOW_TYPE:
|
||||||
|
Loading…
Reference in New Issue
Block a user