Close the file after it's loaded (bug #395316).
2007-01-11 Richard Hult <richard@imendio.com> * demos/gtk-demo/main.c: (load_file): Close the file after it's loaded (bug #395316). svn path=/trunk/; revision=17132
This commit is contained in:
committed by
Richard Hult
parent
ea65504a9b
commit
5bc2f68a5c
@ -1,3 +1,8 @@
|
|||||||
|
2007-01-11 Richard Hult <richard@imendio.com>
|
||||||
|
|
||||||
|
* demos/gtk-demo/main.c: (load_file): Close the file after it's
|
||||||
|
loaded (bug #395316).
|
||||||
|
|
||||||
2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
|
2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkfilesystemunix.c: (expand_tilde):
|
* gtk/gtkfilesystemunix.c: (expand_tilde):
|
||||||
|
|||||||
@ -575,6 +575,8 @@ load_file (const gchar *filename)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fclose (file);
|
||||||
|
|
||||||
fontify ();
|
fontify ();
|
||||||
|
|
||||||
g_string_free (buffer, TRUE);
|
g_string_free (buffer, TRUE);
|
||||||
|
|||||||
Reference in New Issue
Block a user