]> Pileus Git - ~andy/gtk/commit
bgo#640161 - Maintain map/unmap invariants in GtkFileChooserDialog
authorFederico Mena Quintero <federico@gnome.org>
Fri, 21 Jan 2011 21:39:17 +0000 (15:39 -0600)
committerFederico Mena Quintero <federico@gnome.org>
Fri, 21 Jan 2011 21:48:39 +0000 (15:48 -0600)
commit84bf984f8501201e082b888bc5479b5b8770c02b
treec4fb0764f4c80bcca9db58eb74c849e124e9cf59
parentd07231cb7aad19b94f52e9a8af768a6c39919e6d
bgo#640161 - Maintain map/unmap invariants in GtkFileChooserDialog

We used to explicitly map and unmap the child GtkFileChooserWidget when
mapping and unmapping the dialog, respectively.  Now that GtkWidget actually
unmaps child widgets (instead of avoiding that), we can assume that the
child GtkFileChooserWidget will be unmapped when we wanted it to be.

This fixes a warning that happened with the new GtkWidget invariant checker,
as we were mapping our child widget before calling our parent class' ::map() handler.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkfilechooserdialog.c