gimp r25303 - in trunk: . libgimp



Author: neo
Date: Sat Mar 29 17:01:50 2008
New Revision: 25303
URL: http://svn.gnome.org/viewvc/gimp?rev=25303&view=rev

Log:
2008-03-29  Sven Neumann  <sven gimp org>

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



Modified:
   trunk/ChangeLog
   trunk/libgimp/gimpprocview.c

Modified: trunk/libgimp/gimpprocview.c
==============================================================================
--- trunk/libgimp/gimpprocview.c	(original)
+++ trunk/libgimp/gimpprocview.c	Sat Mar 29 17:01:50 2008
@@ -190,10 +190,7 @@
   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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]