~ubuntu-branches/ubuntu/quantal/consolekit/quantal-updates

« back to all changes in this revision

Viewing changes to src/ck-session-glue.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2010-09-21 05:52:04 UTC
  • mfrom: (0.3.4 upstream)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20100921055204-5rv8ng2z3n3u74dm
Tags: 0.4.2-1
* New upstream release.
  - Use VT_WAITEVENT ioctl to monitor VT switches to avoid spawning a thread
    for each possible VT. This requires a Linux kernel 2.6.32 or newer.
    (Closes: #526499)
* debian/control
  - Bump Standards-Version to 3.9.1.
  - Use architecture wildcard kfreebsd-any for the libkvm-dev Build-Depends.
  - Bump Build-Depends on libglib2.0-dev to (>= 2.14.0) for GRegex.
* Remove patches which have been merged upstream.
  - debian/patches/01-dont_daemonize_when_activated.patch
  - debian/patches/02-dont_take_bus_name_until_ready.patch
  - debian/patches/04-dont_fail_with_invalid_seats_file.patch
* debian/patches/01-fallback_no_vt_waitevent.patch
  - Add runtime check for VT_WAITEVENT and fallback to old behaviour of
    creating a thread for every possible VT.
* debian/patches/82-hurd_support.patch
  - Updated for 0.4.2.
  - Check return value of malloc() to correctly handle OOM situations.
    Thanks Pino Toscano for the updated patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#define g_marshal_value_peek_boxed(v)    g_value_get_boxed (v)
28
28
#define g_marshal_value_peek_pointer(v)  g_value_get_pointer (v)
29
29
#define g_marshal_value_peek_object(v)   g_value_get_object (v)
 
30
#define g_marshal_value_peek_variant(v)  g_value_get_variant (v)
30
31
#else /* !G_ENABLE_DEBUG */
31
32
/* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
32
33
 *          Do not access GValues directly in your code. Instead, use the
50
51
#define g_marshal_value_peek_boxed(v)    (v)->data[0].v_pointer
51
52
#define g_marshal_value_peek_pointer(v)  (v)->data[0].v_pointer
52
53
#define g_marshal_value_peek_object(v)   (v)->data[0].v_pointer
 
54
#define g_marshal_value_peek_variant(v)  (v)->data[0].v_pointer
53
55
#endif /* !G_ENABLE_DEBUG */
54
56
 
55
57
 
56
 
/* NONE:BOOLEAN,POINTER (/tmp/dbus-binding-tool-c-marshallers.3QM4YU:1) */
 
58
/* NONE:BOOLEAN,POINTER */
57
59
extern void dbus_glib_marshal_ck_session_VOID__BOOLEAN_POINTER (GClosure     *closure,
58
60
                                                                GValue       *return_value,
59
61
                                                                guint         n_param_values,
97
99
}
98
100
#define dbus_glib_marshal_ck_session_NONE__BOOLEAN_POINTER      dbus_glib_marshal_ck_session_VOID__BOOLEAN_POINTER
99
101
 
100
 
/* BOOLEAN:POINTER,POINTER (/tmp/dbus-binding-tool-c-marshallers.3QM4YU:2) */
 
102
/* BOOLEAN:POINTER,POINTER */
101
103
extern void dbus_glib_marshal_ck_session_BOOLEAN__POINTER_POINTER (GClosure     *closure,
102
104
                                                                   GValue       *return_value,
103
105
                                                                   guint         n_param_values,
144
146
  g_value_set_boolean (return_value, v_return);
145
147
}
146
148
 
147
 
/* NONE:POINTER (/tmp/dbus-binding-tool-c-marshallers.3QM4YU:3) */
 
149
/* NONE:POINTER */
148
150
#define dbus_glib_marshal_ck_session_VOID__POINTER      g_cclosure_marshal_VOID__POINTER
149
151
#define dbus_glib_marshal_ck_session_NONE__POINTER      dbus_glib_marshal_ck_session_VOID__POINTER
150
152