Index: gtk/gtkrc.c
===================================================================
--- gtk/gtkrc.c	(revision 18101)
+++ gtk/gtkrc.c	(working copy)
@@ -812,6 +812,22 @@
 
   if (!path)
     {
+      /* Now try in XDG_DATA_HOME */
+      home_dir = g_get_user_data_dir ();
+      if (home_dir)
+        {
+          path = g_build_filename (home_dir, "themes", name, subpath, NULL);
+          if (!g_file_test (path, G_FILE_TEST_EXISTS))
+          {
+            g_free (path);
+            path = NULL;
+          }
+        }
+    }
+
+
+  if (!path)
+    {
       gchar *theme_dir = gtk_rc_get_theme_dir ();
       path = g_build_filename (theme_dir, name, subpath, NULL);
       g_free (theme_dir);
