Deprecate widget flag: GTK_WIDGET_REALIZED

Use gtk_widget_get_realized() instead

https://bugzilla.gnome.org/show_bug.cgi?id=69872
This commit is contained in:
Javier Jardón
2010-03-02 07:16:02 +01:00
parent 1fe7d3cefd
commit 16a59ad912
76 changed files with 357 additions and 342 deletions

View File

@ -197,7 +197,7 @@ gtk_win32_embed_widget_realize (GtkWidget *widget)
_gtk_container_queue_resize (GTK_CONTAINER (widget));
g_return_if_fail (!GTK_WIDGET_REALIZED (widget));
g_return_if_fail (!gtk_widget_get_realized (widget));
}
GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
@ -292,7 +292,7 @@ gtk_win32_embed_widget_size_allocate (GtkWidget *widget,
widget->allocation = *allocation;
if (GTK_WIDGET_REALIZED (widget))
if (gtk_widget_get_realized (widget))
gdk_window_move_resize (widget->window,
allocation->x, allocation->y,
allocation->width, allocation->height);