~ubuntu-branches/ubuntu/oneiric/mutter/oneiric-201109070806

« back to all changes in this revision

Viewing changes to src/ui/theme-parser.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-11-30 10:56:20 UTC
  • Revision ID: james.westby@ubuntu.com-20101130105620-5pg8qjx4fn4nt00b
Tags: 2.91.3-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 * look out for.
39
39
 */
40
40
#define THEME_MAJOR_VERSION 3
41
 
#define THEME_MINOR_VERSION 1
 
41
#define THEME_MINOR_VERSION 2
42
42
#define THEME_VERSION (1000 * THEME_MAJOR_VERSION + THEME_MINOR_VERSION)
43
43
 
44
44
#define METACITY_THEME_FILENAME_FORMAT "metacity-theme-%d.xml"
1257
1257
 
1258
1258
      type = meta_frame_type_from_string (type_name);
1259
1259
 
1260
 
      if (type == META_FRAME_TYPE_LAST)
 
1260
      if (type == META_FRAME_TYPE_LAST ||
 
1261
          (type == META_FRAME_TYPE_ATTACHED && peek_required_version (info) < 3002))
1261
1262
        {
1262
1263
          set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
1263
1264
                     _("Unknown type \"%s\" on <%s> element"),