nautilus/rtl-fix.patch
Matthias Clasen fcb3ed9d26 fix the build
2007-12-22 04:34:18 +00:00

34 lines
1.3 KiB
Diff

diff -up nautilus-2.21.1/libnautilus-private/nautilus-icon-container.c.rtl-fix nautilus-2.21.1/libnautilus-private/nautilus-icon-container.c
--- nautilus-2.21.1/libnautilus-private/nautilus-icon-container.c.rtl-fix 2007-12-21 23:32:10.000000000 -0500
+++ nautilus-2.21.1/libnautilus-private/nautilus-icon-container.c 2007-12-21 23:32:32.000000000 -0500
@@ -8106,6 +8106,15 @@ nautilus_icon_container_accessible_get_t
return type;
}
+gboolean
+nautilus_icon_container_is_layout_rtl (NautilusIconContainer *container)
+{
+ g_return_val_if_fail (NAUTILUS_IS_ICON_CONTAINER (container), 0);
+
+ return container->details->layout_mode == NAUTILUS_ICON_LAYOUT_T_B_R_L ||
+ container->details->layout_mode == NAUTILUS_ICON_LAYOUT_R_L_T_B;
+}
+
#if ! defined (NAUTILUS_OMIT_SELF_CHECK)
static char *
@@ -8140,13 +8149,4 @@ nautilus_self_check_icon_container (void
EEL_CHECK_STRING_RESULT (check_compute_stretch (100, 100, 64, 105, 105, 40, 40), "35,35:129");
}
-gboolean
-nautilus_icon_container_is_layout_rtl (NautilusIconContainer *container)
-{
- g_return_val_if_fail (NAUTILUS_IS_ICON_CONTAINER (container), 0);
-
- return container->details->layout_mode == NAUTILUS_ICON_LAYOUT_T_B_R_L ||
- container->details->layout_mode == NAUTILUS_ICON_LAYOUT_R_L_T_B;
-}
-
#endif /* ! NAUTILUS_OMIT_SELF_CHECK */