code cleanup.

2008-03-29  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpprocview.c (gimp_proc_view_new): code cleanup.


svn path=/trunk/; revision=25303
This commit is contained in:
Sven Neumann 2008-03-29 17:01:50 +00:00 committed by Sven Neumann
parent 540d533bef
commit 6e531c24ef
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2008-03-29 Sven Neumann <sven@gimp.org>
* libgimp/gimpprocview.c (gimp_proc_view_new): code cleanup.
2008-03-29 Sven Neumann <sven@gimp.org>
* libgimpmath/gimpmd5.[ch]: removed implementation of the MD5

View File

@ -190,10 +190,7 @@ gimp_proc_view_new (const gchar *name,
if (! author && ! date && ! copyright)
return main_vbox;
table = gtk_table_new (((author != NULL) +
(date != NULL) +
(copyright != NULL)),
2, FALSE);
table = gtk_table_new (0, 2, FALSE);
gtk_table_set_col_spacings (GTK_TABLE (table), 6);
gtk_table_set_row_spacings (GTK_TABLE (table), 4);
gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, FALSE, 0);