svnno****@sourc*****
svnno****@sourc*****
Fri Oct 5 06:57:38 JST 2007
Revision: 3270 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3270 Author: ikezoe Date: 2007-10-05 06:57:38 +0900 (Fri, 05 Oct 2007) Log Message: ----------- const. Modified Paths: -------------- kazehakase/trunk/src/main.c Modified: kazehakase/trunk/src/main.c =================================================================== --- kazehakase/trunk/src/main.c 2007-10-04 21:57:23 UTC (rev 3269) +++ kazehakase/trunk/src/main.c 2007-10-04 21:57:38 UTC (rev 3270) @@ -39,7 +39,7 @@ static gchar* geometry_string; static gboolean show_version; -static GOptionEntry entries[] = { +static const GOptionEntry entries[] = { { "action", 'a', 0, G_OPTION_ARG_STRING_ARRAY, &action_array, N_("Execute action"), NULL}, { "geometry", 'g', 0, G_OPTION_ARG_STRING, &geometry_string, N_("Position the window on the screen"), NULL }, { "version", 'v', 0, G_OPTION_ARG_NONE, &show_version, N_("Show this version"), NULL }, @@ -172,7 +172,7 @@ TARGET_STRING }; -static GtkTargetEntry targets[]={ +static const GtkTargetEntry targets[]={ {"STRING", 0, TARGET_STRING}, }; static GdkAtom atom_kz0; /* for checking process */