Remove the "without parent" warning
We've had it for a long time, and it hasn't really made a difference. And I don't think we are prepared to turn this into a hard error. So just drop it.
This commit is contained in:
parent
6b30de9487
commit
abcc477317
@ -776,9 +776,6 @@ gtk_dialog_map (GtkWidget *widget)
|
||||
GtkWindow *window = GTK_WINDOW (widget);
|
||||
GtkDialog *dialog = GTK_DIALOG (widget);
|
||||
|
||||
if (gtk_window_get_transient_for (window) == NULL)
|
||||
g_message ("GtkDialog mapped without a transient parent. This is discouraged.");
|
||||
|
||||
GTK_WIDGET_CLASS (gtk_dialog_parent_class)->map (widget);
|
||||
|
||||
focus = gtk_window_get_focus (window);
|
||||
|
Loading…
Reference in New Issue
Block a user