Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_WINDOW)
Use new API instead: gtk_widget_set_has_window () https://bugzilla.gnome.org/show_bug.cgi?id=69872
This commit is contained in:
committed by
Tristan Van Berkom
parent
e5aca4ac88
commit
e2f79c33ff
@ -200,7 +200,7 @@ gtk_alignment_init (GtkAlignment *alignment)
|
||||
{
|
||||
GtkAlignmentPrivate *priv;
|
||||
|
||||
GTK_WIDGET_SET_FLAGS (alignment, GTK_NO_WINDOW);
|
||||
gtk_widget_set_has_window (GTK_WIDGET (alignment), FALSE);
|
||||
gtk_widget_set_redraw_on_allocate (GTK_WIDGET (alignment), FALSE);
|
||||
|
||||
alignment->xalign = 0.5;
|
||||
|
||||
Reference in New Issue
Block a user