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:

committed by
Sven Neumann

parent
540d533bef
commit
6e531c24ef
@ -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>
|
2008-03-29 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* libgimpmath/gimpmd5.[ch]: removed implementation of the MD5
|
* libgimpmath/gimpmd5.[ch]: removed implementation of the MD5
|
||||||
|
@ -190,10 +190,7 @@ gimp_proc_view_new (const gchar *name,
|
|||||||
if (! author && ! date && ! copyright)
|
if (! author && ! date && ! copyright)
|
||||||
return main_vbox;
|
return main_vbox;
|
||||||
|
|
||||||
table = gtk_table_new (((author != NULL) +
|
table = gtk_table_new (0, 2, FALSE);
|
||||||
(date != NULL) +
|
|
||||||
(copyright != NULL)),
|
|
||||||
2, FALSE);
|
|
||||||
gtk_table_set_col_spacings (GTK_TABLE (table), 6);
|
gtk_table_set_col_spacings (GTK_TABLE (table), 6);
|
||||||
gtk_table_set_row_spacings (GTK_TABLE (table), 4);
|
gtk_table_set_row_spacings (GTK_TABLE (table), 4);
|
||||||
gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, FALSE, 0);
|
gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, FALSE, 0);
|
||||||
|
Reference in New Issue
Block a user