svnno****@sourc*****
svnno****@sourc*****
Tue Jan 20 14:01:21 JST 2009
Revision: 3525 http://svn.sourceforge.jp/view?root=kazehakase&view=rev&rev=3525 Author: ikezoe Date: 2009-01-20 14:01:19 +0900 (Tue, 20 Jan 2009) Log Message: ----------- 2009-01-20 Hiroyuki Ikezoe <poinc****@ikezo*****> * src/main.c: Move variable declaration to head of the function. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/src/main.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2009-01-06 05:34:33 UTC (rev 3524) +++ kazehakase/trunk/ChangeLog 2009-01-20 05:01:19 UTC (rev 3525) @@ -1,3 +1,7 @@ +2009-01-20 Hiroyuki Ikezoe <poinc****@ikezo*****> + + * src/main.c: Move variable declaration to head of the function. + 2009-01-06 Hiroyuki Ikezoe <poinc****@ikezo*****> * module/embed/webkit-gtk/kz-webkit-gtk.c: Implement find. Modified: kazehakase/trunk/src/main.c =================================================================== --- kazehakase/trunk/src/main.c 2009-01-06 05:34:33 UTC (rev 3524) +++ kazehakase/trunk/src/main.c 2009-01-20 05:01:19 UTC (rev 3525) @@ -446,6 +446,9 @@ GError *error = NULL; gboolean restore = FALSE; KzApp *kz_app; +#ifndef G_OS_WIN32 + struct sigaction act; +#endif /* initialize */ #ifdef G_OS_WIN32 @@ -508,7 +511,6 @@ /* signal handler for safe termination */ /* TODO: need win32 version? */ #ifndef G_OS_WIN32 - struct sigaction act; memset(&act, 0, sizeof(struct sigaction)); act.sa_handler = kz_sighandle_exit; sigaction(SIGINT, &act, NULL);