diff --git a/ChangeLog b/ChangeLog index 9ac17352e7..36068627ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Jul 27 05:06:29 2000 Tim Janik + + * gtk/gtktable.c: applied patch from Phil Thompson + that enables space settings for + the last row/columns as well. + 2000-07-19 Sebastian Wilhelmi * gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 9ac17352e7..36068627ec 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +Thu Jul 27 05:06:29 2000 Tim Janik + + * gtk/gtktable.c: applied patch from Phil Thompson + that enables space settings for + the last row/columns as well. + 2000-07-19 Sebastian Wilhelmi * gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 9ac17352e7..36068627ec 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Thu Jul 27 05:06:29 2000 Tim Janik + + * gtk/gtktable.c: applied patch from Phil Thompson + that enables space settings for + the last row/columns as well. + 2000-07-19 Sebastian Wilhelmi * gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 9ac17352e7..36068627ec 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Thu Jul 27 05:06:29 2000 Tim Janik + + * gtk/gtktable.c: applied patch from Phil Thompson + that enables space settings for + the last row/columns as well. + 2000-07-19 Sebastian Wilhelmi * gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 9ac17352e7..36068627ec 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Thu Jul 27 05:06:29 2000 Tim Janik + + * gtk/gtktable.c: applied patch from Phil Thompson + that enables space settings for + the last row/columns as well. + 2000-07-19 Sebastian Wilhelmi * gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 9ac17352e7..36068627ec 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Thu Jul 27 05:06:29 2000 Tim Janik + + * gtk/gtktable.c: applied patch from Phil Thompson + that enables space settings for + the last row/columns as well. + 2000-07-19 Sebastian Wilhelmi * gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 9ac17352e7..36068627ec 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Thu Jul 27 05:06:29 2000 Tim Janik + + * gtk/gtktable.c: applied patch from Phil Thompson + that enables space settings for + the last row/columns as well. + 2000-07-19 Sebastian Wilhelmi * gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and diff --git a/gtk/gtktable.c b/gtk/gtktable.c index a55a0ea6f9..d7cdd40a61 100644 --- a/gtk/gtktable.c +++ b/gtk/gtktable.c @@ -571,7 +571,7 @@ gtk_table_set_row_spacing (GtkTable *table, { g_return_if_fail (table != NULL); g_return_if_fail (GTK_IS_TABLE (table)); - g_return_if_fail (row + 1 < table->nrows); + g_return_if_fail (row < table->nrows); if (table->rows[row].spacing != spacing) { @@ -589,7 +589,7 @@ gtk_table_set_col_spacing (GtkTable *table, { g_return_if_fail (table != NULL); g_return_if_fail (GTK_IS_TABLE (table)); - g_return_if_fail (column + 1 < table->ncols); + g_return_if_fail (column < table->ncols); if (table->cols[column].spacing != spacing) { @@ -610,7 +610,7 @@ gtk_table_set_row_spacings (GtkTable *table, g_return_if_fail (GTK_IS_TABLE (table)); table->row_spacing = spacing; - for (row = 0; row + 1 < table->nrows; row++) + for (row = 0; row < table->nrows; row++) table->rows[row].spacing = spacing; if (GTK_WIDGET_VISIBLE (table)) @@ -627,7 +627,7 @@ gtk_table_set_col_spacings (GtkTable *table, g_return_if_fail (GTK_IS_TABLE (table)); table->column_spacing = spacing; - for (col = 0; col + 1 < table->ncols; col++) + for (col = 0; col < table->ncols; col++) table->cols[col].spacing = spacing; if (GTK_WIDGET_VISIBLE (table)) diff --git a/gtk/testrgb.c b/gtk/testrgb.c index 99cd6eba52..5e902cb862 100644 --- a/gtk/testrgb.c +++ b/gtk/testrgb.c @@ -42,8 +42,8 @@ quit_func (GtkWidget *widget, gpointer dummy) gtk_main_quit (); } -#define WIDTH 320 -#define HEIGHT 200 +#define WIDTH 640 +#define HEIGHT 480 gdouble get_time (void) diff --git a/tests/testrgb.c b/tests/testrgb.c index 99cd6eba52..5e902cb862 100644 --- a/tests/testrgb.c +++ b/tests/testrgb.c @@ -42,8 +42,8 @@ quit_func (GtkWidget *widget, gpointer dummy) gtk_main_quit (); } -#define WIDTH 320 -#define HEIGHT 200 +#define WIDTH 640 +#define HEIGHT 480 gdouble get_time (void)