1 /* 2 * Copyright (c) 2008-2010 Lu, Chao-Ming (Tetralet). All rights reserved. 3 * 4 * This file is part of LilyTerm. 5 * 6 * LilyTerm is free software: you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation, either version 3 of the License, or 9 * (at your option) any later version. 10 * 11 * LilyTerm is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with LilyTerm. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 20 #define _GNU_SOURCE 21 22 #include <gtk/gtk.h> 23 #include <vte/vte.h> 24 // for L10n 25 #include <locale.h> 26 #include <glib/gi18n.h> 27 // for strlen() 28 #include <string.h> 29 // for aoti() aotf() canonicalize_file_name() 30 #include <stdlib.h> 31 // for access() 32 #include <unistd.h> 33 34 #include "lilyterm.h" 35 36