diff options
author | Tim Janik <timj@gtk.org> | 2000-07-27 03:12:32 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2000-07-27 03:12:32 +0000 |
commit | 0d9d12d00cab57c12a96ba0959ead340f4a53a9f (patch) | |
tree | 69c4239d78ec883772112320aefb62513ed28349 | |
parent | b5b621ce5a4578657213783d3f483844b1fcb9b3 (diff) | |
download | gdk-pixbuf-0d9d12d00cab57c12a96ba0959ead340f4a53a9f.tar.gz |
applied patch from Phil Thompson <phil@river-bank.demon.co.uk> that
Thu Jul 27 05:06:29 2000 Tim Janik <timj@gtk.org>
* gtk/gtktable.c: applied patch from Phil Thompson
<phil@river-bank.demon.co.uk> that enables space settings for
the last row/columns as well.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-0 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 6 | ||||
-rw-r--r-- | gtk/gtktable.c | 8 | ||||
-rw-r--r-- | gtk/testrgb.c | 4 | ||||
-rw-r--r-- | tests/testrgb.c | 4 |
10 files changed, 50 insertions, 8 deletions
@@ -1,3 +1,9 @@ +Thu Jul 27 05:06:29 2000 Tim Janik <timj@gtk.org> + + * gtk/gtktable.c: applied patch from Phil Thompson + <phil@river-bank.demon.co.uk> that enables space settings for + the last row/columns as well. + 2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 9ac17352e..36068627e 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +Thu Jul 27 05:06:29 2000 Tim Janik <timj@gtk.org> + + * gtk/gtktable.c: applied patch from Phil Thompson + <phil@river-bank.demon.co.uk> that enables space settings for + the last row/columns as well. + 2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 9ac17352e..36068627e 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Thu Jul 27 05:06:29 2000 Tim Janik <timj@gtk.org> + + * gtk/gtktable.c: applied patch from Phil Thompson + <phil@river-bank.demon.co.uk> that enables space settings for + the last row/columns as well. + 2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 9ac17352e..36068627e 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Thu Jul 27 05:06:29 2000 Tim Janik <timj@gtk.org> + + * gtk/gtktable.c: applied patch from Phil Thompson + <phil@river-bank.demon.co.uk> that enables space settings for + the last row/columns as well. + 2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 9ac17352e..36068627e 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Thu Jul 27 05:06:29 2000 Tim Janik <timj@gtk.org> + + * gtk/gtktable.c: applied patch from Phil Thompson + <phil@river-bank.demon.co.uk> that enables space settings for + the last row/columns as well. + 2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 9ac17352e..36068627e 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Thu Jul 27 05:06:29 2000 Tim Janik <timj@gtk.org> + + * gtk/gtktable.c: applied patch from Phil Thompson + <phil@river-bank.demon.co.uk> that enables space settings for + the last row/columns as well. + 2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 9ac17352e..36068627e 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Thu Jul 27 05:06:29 2000 Tim Janik <timj@gtk.org> + + * gtk/gtktable.c: applied patch from Phil Thompson + <phil@river-bank.demon.co.uk> that enables space settings for + the last row/columns as well. + 2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk/gdk.h, gtk/gtktypeutils.h: Include gdk/gdkrgb.h and diff --git a/gtk/gtktable.c b/gtk/gtktable.c index a55a0ea6f..d7cdd40a6 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 99cd6eba5..5e902cb86 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 99cd6eba5..5e902cb86 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) |