X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fmain%2Fsrc%2Fcallbacks.c;h=5e7b4e12e62db26c34b052aa6781a5abc2258a8b;hb=e076699e6578637959dd0a6b175a8fa5d18dce38;hp=4c82c444be72dacd7b5fcb40307a01990db17275;hpb=94dcfb9e4db29b7ba311e1b4cd3c139a64a09fe3;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/callbacks.c b/ltt/branches/poly/lttv/modules/gui/main/src/callbacks.c index 4c82c444..5e7b4e12 100644 --- a/ltt/branches/poly/lttv/modules/gui/main/src/callbacks.c +++ b/ltt/branches/poly/lttv/modules/gui/main/src/callbacks.c @@ -1,3 +1,21 @@ +/* This file is part of the Linux Trace Toolkit viewer + * Copyright (C) 2003-2004 XangXiu Yang + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License Version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, + * MA 02111-1307, USA. + */ + #ifdef HAVE_CONFIG_H # include #endif @@ -931,7 +949,7 @@ on_add_module_search_path_activate (GtkMenuItem *menuitem, gpointer user_data) { GtkDirSelection * file_selector = (GtkDirSelection *)gtk_dir_selection_new("Select module path"); - char * dir; + const char * dir; gint id; MainWindow * mw_data = get_window_data_struct((GtkWidget*)menuitem);