gtk/gtkfilechooserbutton.c: Use accessor functions to access GtkWindow

This commit is contained in:
Javier Jardón 2010-08-17 15:12:51 +02:00
parent 65266d971e
commit 64fca99a89

View File

@ -661,7 +661,7 @@ gtk_file_chooser_button_constructor (GType type,
gtk_file_chooser_button_set_title (button, _(DEFAULT_TITLE));
}
else if (!GTK_WINDOW (priv->dialog)->title)
else if (!gtk_window_get_title (GTK_WINDOW (priv->dialog)))
{
gtk_file_chooser_button_set_title (button, _(DEFAULT_TITLE));
}