Handle being called early. Bug report by Andrés G. Aragoneses

* gtk/gtkrc.c (gtk_rc_parse_default_files): Handle being called
        early. Bug report by Andrés G. Aragoneses


svn path=/trunk/; revision=21875
This commit is contained in:
Matthias Clasen 2008-12-13 04:39:38 +00:00
parent 66745a993d
commit 2e22288e75
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2008-12-12 Matthias Clasen <mclasen@redhat.com>
Bug 564066 Crash in gtk_rc_parse_default_files
* gtk/gtkrc.c (gtk_rc_parse_default_files): Handle being called
early. Bug report by Andrés G. Aragoneses
2008-12-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmountoperation.c: Set an empty title on password dialogs.

View File

@ -837,6 +837,8 @@ gtk_rc_parse_default_files (GtkRcContext *context)
{
gint i;
gtk_rc_add_initial_default_files ();
for (i = 0; gtk_rc_default_files[i] != NULL; i++)
gtk_rc_context_parse_file (context, gtk_rc_default_files[i], GTK_PATH_PRIO_RC, FALSE);
}