d22f642
diff -up nautilus-2.23.90/libnautilus-private/nautilus-icon-container.c.rtl-fix nautilus-2.23.90/libnautilus-private/nautilus-icon-container.c
d22f642
--- nautilus-2.23.90/libnautilus-private/nautilus-icon-container.c.rtl-fix	2008-08-18 19:04:40.000000000 -0400
818d1a8
+++ nautilus-2.23.90/libnautilus-private/nautilus-icon-container.c	2008-08-23 10:33:53.000000000 -0400
818d1a8
@@ -8923,40 +8923,6 @@ nautilus_icon_container_accessible_get_t
fcb3ed9
         return type;
fcb3ed9
 }
fcb3ed9
 
818d1a8
-#if ! defined (NAUTILUS_OMIT_SELF_CHECK)
818d1a8
-
818d1a8
-static char *
818d1a8
-check_compute_stretch (int icon_x, int icon_y, int icon_size,
818d1a8
-		       int start_pointer_x, int start_pointer_y,
818d1a8
-		       int end_pointer_x, int end_pointer_y)
fcb3ed9
-{
818d1a8
-	StretchState start, current;
818d1a8
-
818d1a8
-	start.icon_x = icon_x;
818d1a8
-	start.icon_y = icon_y;
818d1a8
-	start.icon_size = icon_size;
818d1a8
-	start.pointer_x = start_pointer_x;
818d1a8
-	start.pointer_y = start_pointer_y;
818d1a8
-	current.pointer_x = end_pointer_x;
818d1a8
-	current.pointer_y = end_pointer_y;
818d1a8
-
818d1a8
-	compute_stretch (&start, ¤t;;
fcb3ed9
-
818d1a8
-	return g_strdup_printf ("%d,%d:%d",
818d1a8
-				current.icon_x,
818d1a8
-				current.icon_y,
818d1a8
-				current.icon_size);
fcb3ed9
-}
fcb3ed9
-
818d1a8
-void
818d1a8
-nautilus_self_check_icon_container (void)
Tomas Bzatek 4a0fdd1
-{
818d1a8
-	EEL_CHECK_STRING_RESULT (check_compute_stretch (0, 0, 16, 0, 0, 0, 0), "0,0:16");
818d1a8
-	EEL_CHECK_STRING_RESULT (check_compute_stretch (0, 0, 16, 16, 16, 17, 17), "0,0:17");
818d1a8
-	EEL_CHECK_STRING_RESULT (check_compute_stretch (0, 0, 16, 16, 16, 17, 16), "0,0:16");
818d1a8
-	EEL_CHECK_STRING_RESULT (check_compute_stretch (100, 100, 64, 105, 105, 40, 40), "35,35:129");
Tomas Bzatek 4a0fdd1
-}
Tomas Bzatek 4a0fdd1
-
818d1a8
 gboolean
818d1a8
 nautilus_icon_container_is_layout_rtl (NautilusIconContainer *container)
d22f642
 {
818d1a8
@@ -8994,4 +8960,39 @@ nautilus_icon_container_get_layout_heigh
818d1a8
 }
818d1a8
 
818d1a8
 
818d1a8
+#if ! defined (NAUTILUS_OMIT_SELF_CHECK)
818d1a8
+
818d1a8
+static char *
818d1a8
+check_compute_stretch (int icon_x, int icon_y, int icon_size,
818d1a8
+		       int start_pointer_x, int start_pointer_y,
818d1a8
+		       int end_pointer_x, int end_pointer_y)
818d1a8
+{
818d1a8
+	StretchState start, current;
818d1a8
+
818d1a8
+	start.icon_x = icon_x;
818d1a8
+	start.icon_y = icon_y;
818d1a8
+	start.icon_size = icon_size;
818d1a8
+	start.pointer_x = start_pointer_x;
818d1a8
+	start.pointer_y = start_pointer_y;
818d1a8
+	current.pointer_x = end_pointer_x;
818d1a8
+	current.pointer_y = end_pointer_y;
818d1a8
+
818d1a8
+	compute_stretch (&start, ¤t;;
818d1a8
+
818d1a8
+	return g_strdup_printf ("%d,%d:%d",
818d1a8
+				current.icon_x,
818d1a8
+				current.icon_y,
818d1a8
+				current.icon_size);
818d1a8
+}
818d1a8
+
818d1a8
+void
818d1a8
+nautilus_self_check_icon_container (void)
818d1a8
+{
818d1a8
+	EEL_CHECK_STRING_RESULT (check_compute_stretch (0, 0, 16, 0, 0, 0, 0), "0,0:16");
818d1a8
+	EEL_CHECK_STRING_RESULT (check_compute_stretch (0, 0, 16, 16, 16, 17, 17), "0,0:17");
818d1a8
+	EEL_CHECK_STRING_RESULT (check_compute_stretch (0, 0, 16, 16, 16, 17, 16), "0,0:16");
818d1a8
+	EEL_CHECK_STRING_RESULT (check_compute_stretch (100, 100, 64, 105, 105, 40, 40), "35,35:129");
818d1a8
+}
818d1a8
+
818d1a8
+
818d1a8
 #endif /* ! NAUTILUS_OMIT_SELF_CHECK */