svnno****@sourc*****
svnno****@sourc*****
Wed Apr 4 13:55:41 JST 2007
Revision: 3138 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3138 Author: makeinu Date: 2007-04-04 13:55:41 +0900 (Wed, 04 Apr 2007) Log Message: ----------- Remove needless checking return value of kz_app_restore_session(). It always returns a window. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/src/main.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-04-04 04:19:03 UTC (rev 3137) +++ kazehakase/trunk/ChangeLog 2007-04-04 04:55:41 UTC (rev 3138) @@ -1,5 +1,10 @@ 2007-04-04 Takuro Ashie <ashie****@homa*****> + * src/main.c: Remove needless checking return value of + kz_app_restore_session(). It always returns a window. + +2007-04-04 Takuro Ashie <ashie****@homa*****> + * configure.ac, module/embed/Makefile.am: Build KzIE secretly :-P 2007-04-04 Takuro Ashie <ashie****@homa*****> Modified: kazehakase/trunk/src/main.c =================================================================== --- kazehakase/trunk/src/main.c 2007-04-04 04:19:03 UTC (rev 3137) +++ kazehakase/trunk/src/main.c 2007-04-04 04:55:41 UTC (rev 3138) @@ -490,16 +490,12 @@ /* create window */ KZ_CONF_GET("Session", "restore", restore, BOOL); if (restore) - { window = kz_app_restore_session(kz_app); - if (!window) - window = kz_app_create_new_window(kz_app, NULL); - } else window = kz_app_create_new_window(kz_app, NULL); /* - * gtk_window_pargse_geometry() needs to be called + * gtk_window_parse_geometry() needs to be called * before gtk_widget_show(). */ if(geometry_string)