forked from AuroraMiddleware/gtk
Refixed merge conflicts for GTK_WIDGET_MAPPED/GTK_WIDGET_VISIBLE
This commit is contained in:
parent
5d83f5eba5
commit
ae2c0b02c3
@ -478,7 +478,7 @@ gtk_box_size_allocate (GtkWidget *widget,
|
||||
child = children->data;
|
||||
children = children->next;
|
||||
|
||||
if (GTK_WIDGET_VISIBLE (child->widget))
|
||||
if (gtk_widget_get_visible (child->widget))
|
||||
{
|
||||
if (private->orientation == GTK_ORIENTATION_HORIZONTAL)
|
||||
gtk_extended_layout_get_width_for_height (GTK_EXTENDED_LAYOUT (child->widget),
|
||||
|
@ -141,7 +141,7 @@ _gtk_socket_windowing_get_natural_size (GtkSocket *socket)
|
||||
priv->natural_width = 1;
|
||||
priv->natural_height = 1;
|
||||
|
||||
if (GTK_WIDGET_MAPPED (socket))
|
||||
if (gtk_widget_get_mapped (GTK_WIDGET (socket)))
|
||||
{
|
||||
display = gdk_drawable_get_display (socket->plug_window);
|
||||
property = gdk_x11_get_xatom_by_name_for_display (display, "_GTK_NATURAL_SIZE");
|
||||
|
Loading…
Reference in New Issue
Block a user