~ubuntu-branches/ubuntu/precise/gcalctool/precise-proposed

« back to all changes in this revision

Viewing changes to src/mp-enums.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2011-03-21 15:09:58 UTC
  • mfrom: (1.3.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20110321150958-ye9bm6c1k38r4llu
Tags: 5.91.92-0ubuntu1
* New upstream release
  - Fixes (LP: #736632)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/* Generated data (by glib-mkenums) */
 
3
 
 
4
#include "mp-serializer.h"
 
5
#include "mp-enums.h"
 
6
 
 
7
/* enumerations from "./mp-serializer.h" */
 
8
GType
 
9
math_mp_display_format_get_type (void)
 
10
{
 
11
    static GType etype = 0;
 
12
    if (G_UNLIKELY(etype == 0)) {
 
13
        static const GEnumValue values[] = {
 
14
            { MP_DISPLAY_FORMAT_AUTOMATIC, "MP_DISPLAY_FORMAT_AUTOMATIC", "automatic" },
 
15
            { MP_DISPLAY_FORMAT_FIXED, "MP_DISPLAY_FORMAT_FIXED", "fixed" },
 
16
            { MP_DISPLAY_FORMAT_SCIENTIFIC, "MP_DISPLAY_FORMAT_SCIENTIFIC", "scientific" },
 
17
            { MP_DISPLAY_FORMAT_ENGINEERING, "MP_DISPLAY_FORMAT_ENGINEERING", "engineering" },
 
18
            { 0, NULL, NULL }
 
19
        };
 
20
        etype = g_enum_register_static (g_intern_static_string ("MpDisplayFormat"), values);
 
21
    }
 
22
    return etype;
 
23
}
 
24
 
 
25
 
 
26
 
 
27
/* Generated data ends here */
 
28