Fix some missing initializations of rc_file->directory.

Sun Aug 24 17:00:03 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.c: Fix some missing initializations of
        rc_file->directory.
This commit is contained in:
Owen Taylor 2003-08-24 21:03:39 +00:00 committed by Owen Taylor
parent a6781eb5ec
commit 02f3976e37
6 changed files with 28 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sun Aug 24 17:00:03 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c: Fix some missing initializations of
rc_file->directory.
2003-08-24 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaction.[ch]:

View File

@ -1,3 +1,8 @@
Sun Aug 24 17:00:03 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c: Fix some missing initializations of
rc_file->directory.
2003-08-24 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaction.[ch]:

View File

@ -1,3 +1,8 @@
Sun Aug 24 17:00:03 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c: Fix some missing initializations of
rc_file->directory.
2003-08-24 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaction.[ch]:

View File

@ -1,3 +1,8 @@
Sun Aug 24 17:00:03 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c: Fix some missing initializations of
rc_file->directory.
2003-08-24 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaction.[ch]:

View File

@ -1,3 +1,8 @@
Sun Aug 24 17:00:03 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c: Fix some missing initializations of
rc_file->directory.
2003-08-24 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaction.[ch]:

View File

@ -711,6 +711,7 @@ gtk_rc_parse_string (const gchar *rc_string)
rc_file->is_string = TRUE;
rc_file->name = g_strdup (rc_string);
rc_file->canonical_name = NULL;
rc_file->directory = NULL;
rc_file->mtime = 0;
rc_file->reload = TRUE;
@ -742,6 +743,7 @@ add_to_rc_file_list (GSList **rc_file_list,
rc_file->is_string = FALSE;
rc_file->name = g_strdup (filename);
rc_file->canonical_name = NULL;
rc_file->directory = NULL;
rc_file->mtime = 0;
rc_file->reload = reload;