~ubuntu-branches/ubuntu/quantal/evolution-data-server/quantal

« back to all changes in this revision

Viewing changes to libebackend/e-backend-enumtypes.c

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2012-07-03 22:41:23 UTC
  • mfrom: (1.1.100)
  • Revision ID: package-import@ubuntu.com-20120703224123-90dydkyfyvff8s0s
Tags: 3.5.3.1-0ubuntu1
* New upstream release 3.5.3.1.
* debian/control:
  - Drop libgconf2-dev from Build-Depends.
  - Bump versions for glib, goa, and libsoup in Build-Depends.
  - Add a Build-Depends on libgcr-3-dev (>= 3.4)
  - Rename packages following upstream SONAME changes.
  - Add Depends on libgnome-keyring-dev to libedataserver1.2-dev.
* debian/rules:
  - Update mkshlibs arguments for libcamel-1.2-38 instead of -33; as it was
    renamed in control due to the soname change.
  - Strip out -Bsymbolic-functions from LDFLAGS.
* Renamed install files in debian/:
  - libcamel-1.2-33.install => libcamel-1.2-38.install
  - libebackend-1.2-2.install => libebackend-1.2-4.install
  - libebook-1.2-13.install => libebook-1.2-17.install
  - libecal-1.2-11.install => libecal-1.2-15.install
  - libedata-book-1.2-13.install => libedata-book-1.2-15.install
  - libedata-cal-1.2-15.install => libedata-cal-1.2-18.install
  - libedataserver-1.2-16.install => libedataserver-1.2-17.install
  - libedataserverui-3.0-1.install => libedataserverui-3.0-4.install
* debian/patches/google_tests_fpic.patch: build tests with -fPIC; otherwise
  build fails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 
 
3
 
 
4
#include <e-backend-enums.h>
 
5
#include "e-backend-enumtypes.h"
 
6
 
 
7
/* enumerations from "e-backend-enums.h" */
 
8
GType
 
9
e_authentication_session_result_get_type (void)
 
10
{
 
11
  static GType etype = 0;
 
12
  if (etype == 0) {
 
13
    static const GEnumValue values[] = {
 
14
      { E_AUTHENTICATION_SESSION_ERROR, "E_AUTHENTICATION_SESSION_ERROR", "error" },
 
15
      { E_AUTHENTICATION_SESSION_SUCCESS, "E_AUTHENTICATION_SESSION_SUCCESS", "success" },
 
16
      { E_AUTHENTICATION_SESSION_DISMISSED, "E_AUTHENTICATION_SESSION_DISMISSED", "dismissed" },
 
17
      { 0, NULL, NULL }
 
18
    };
 
19
    etype = g_enum_register_static ("EAuthenticationSessionResult", values);
 
20
  }
 
21
  return etype;
 
22
}
 
23
GType
 
24
e_dbus_server_exit_code_get_type (void)
 
25
{
 
26
  static GType etype = 0;
 
27
  if (etype == 0) {
 
28
    static const GEnumValue values[] = {
 
29
      { E_DBUS_SERVER_EXIT_NONE, "E_DBUS_SERVER_EXIT_NONE", "none" },
 
30
      { E_DBUS_SERVER_EXIT_NORMAL, "E_DBUS_SERVER_EXIT_NORMAL", "normal" },
 
31
      { E_DBUS_SERVER_EXIT_RELOAD, "E_DBUS_SERVER_EXIT_RELOAD", "reload" },
 
32
      { 0, NULL, NULL }
 
33
    };
 
34
    etype = g_enum_register_static ("EDBusServerExitCode", values);
 
35
  }
 
36
  return etype;
 
37
}
 
38
GType
 
39
e_source_permission_flags_get_type (void)
 
40
{
 
41
  static GType etype = 0;
 
42
  if (etype == 0) {
 
43
    static const GFlagsValue values[] = {
 
44
      { E_SOURCE_PERMISSION_NONE, "E_SOURCE_PERMISSION_NONE", "none" },
 
45
      { E_SOURCE_PERMISSION_WRITABLE, "E_SOURCE_PERMISSION_WRITABLE", "writable" },
 
46
      { E_SOURCE_PERMISSION_REMOVABLE, "E_SOURCE_PERMISSION_REMOVABLE", "removable" },
 
47
      { 0, NULL, NULL }
 
48
    };
 
49
    etype = g_flags_register_static ("ESourcePermissionFlags", values);
 
50
  }
 
51
  return etype;
 
52
}
 
53
 
 
54
 
 
55