[gtk+/native-layout] native-layout: Change test-case so that it is more obvious that the algorithm tries to show as many
- From: Johannes Schmid <jhs src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] native-layout: Change test-case so that it is more obvious that the algorithm tries to show as many
- Date: Mon, 14 Dec 2009 16:25:14 +0000 (UTC)
commit 21ebf5df864a998ce6df44e01ef93ff6045ad292
Author: Johannes Schmid <jhs gnome org>
Date: Mon Dec 14 17:24:52 2009 +0100
native-layout: Change test-case so that it is more obvious that the algorithm tries to show as many
widgets with full size as possible.
tests/testextendedlayout.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testextendedlayout.c b/tests/testextendedlayout.c
index 497ccaf..b734fab 100644
--- a/tests/testextendedlayout.c
+++ b/tests/testextendedlayout.c
@@ -63,7 +63,7 @@ main (int argc,
for (x = 0; x < G_N_ELEMENTS (groups); ++x)
{
- gchar *text = g_strdup_printf ("Label #%.0f.%d", pow(10, y), x + 1);
+ gchar *text = g_strdup_printf ("Label #%.0f.%.0f", pow(10, y), pow(10,x));
GtkWidget *label = gtk_label_new (text);
g_free (text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]