Simplified logic thanks to bitfields.

2001-12-03  Daniel Egger  <degger@fhm.edu>

	* app/core/gimp.c: Simplified logic thanks to bitfields.
This commit is contained in:
Daniel Egger 2001-12-03 00:27:10 +00:00 committed by Daniel Egger
parent 83468fca06
commit e319f588ce
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2001-12-03 Daniel Egger <degger@fhm.edu>
* app/core/gimp.c: Simplified logic thanks to bitfields.
2001-12-02 Sven Neumann <sven@gimp.org>
* app/plug-in/plug-in.c: use g_tree_foreach() instead of deprecated

View File

@ -332,9 +332,9 @@ gimp_new (gboolean be_verbose,
gimp = g_object_new (GIMP_TYPE_GIMP, NULL);
gimp->be_verbose = be_verbose ? TRUE : FALSE;
gimp->no_data = no_data ? TRUE : FALSE;
gimp->no_interface = no_interface ? TRUE : FALSE;
gimp->be_verbose = be_verbose;
gimp->no_data = no_data;
gimp->no_interface = no_interface;
gimp->stack_trace_mode = stack_trace_mode;
return gimp;