~ubuntu-branches/debian/experimental/xfce4-panel/experimental

« back to all changes in this revision

Viewing changes to panel/panel-plugin-external-wrapper-infos.h

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez, Lionel Le Folgoc, Yves-Alexis Perez
  • Date: 2011-02-06 18:10:07 UTC
  • mfrom: (1.3.13 upstream) (5.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110206181007-vpw5z3xnm3hdvybx
Tags: 4.8.1-1
[ Lionel Le Folgoc ]
* New upstream bugfix release.
* debian/control:
  - refreshed (b-)deps for this new major release
  - add myself to Uploaders
  - bump Standards-Version to 3.9.1.
* debian/NEWS: dropped, unneeded.
* debian/xfce4-panel.shlibs: refreshed, bump to (>= 4.7.2).
* debian/xfce4-panel.lintian-overrides: refreshed, new lib name.
* debian/xfce4-panel.preinst: added, handles removal of old conffiles.
* debian/xfce4-panel.postinst: explicitly set -e.
* debian/*.install: refreshed.
* debian/rules:
  - call dpkg-buildflags
  - dropped rc files mangling as they don't exist anymore
  - updated removal of *.{l,}a files.
  - drop overrides for dh_auto_{configure,clean}, obsolete.
* debian/xfce4-panel.{preinst,postinst,prerm}: use dpkg-maintscript-helper
  to remove pre-xfconf config files.
* Bugs fixed by 4.7.x/4.8.x series:
  - rgba support                                                  lp: #586012
  - disappearing menus                                             lp: #53897
  - xrandr support                               lp: #176174, Closes: #432914
  - Fails to reap children, creating zombies                      lp: #420187
  - DND of desktop-files on the panel to create new launchers Closes: #480380
* Bumped shlibs to >= 4.7.7, abi break for external plugins.

[ Yves-Alexis Perez ]
* New upstream development release
* debian/xfce4-panel.install:
  - install wrapper and migrate tools in xfce4-panel package
  - update plugins paths
* debian/rules:
  - update path when removing .a/.la files for plugins.
  - add hardening flags to {C,LD}FLAGS
* debian/control:
  - add build-dep on hardening-includes
  - update build-dep on garcon to 0.1.4.
* debian/copyright updated for new release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Generated by dbus-binding-tool; do not edit! */
 
2
 
 
3
 
 
4
#ifndef __dbus_glib_marshal_panel_plugin_external_wrapper_MARSHAL_H__
 
5
#define __dbus_glib_marshal_panel_plugin_external_wrapper_MARSHAL_H__
 
6
 
 
7
#include        <glib-object.h>
 
8
 
 
9
G_BEGIN_DECLS
 
10
 
 
11
#ifdef G_ENABLE_DEBUG
 
12
#define g_marshal_value_peek_boolean(v)  g_value_get_boolean (v)
 
13
#define g_marshal_value_peek_char(v)     g_value_get_char (v)
 
14
#define g_marshal_value_peek_uchar(v)    g_value_get_uchar (v)
 
15
#define g_marshal_value_peek_int(v)      g_value_get_int (v)
 
16
#define g_marshal_value_peek_uint(v)     g_value_get_uint (v)
 
17
#define g_marshal_value_peek_long(v)     g_value_get_long (v)
 
18
#define g_marshal_value_peek_ulong(v)    g_value_get_ulong (v)
 
19
#define g_marshal_value_peek_int64(v)    g_value_get_int64 (v)
 
20
#define g_marshal_value_peek_uint64(v)   g_value_get_uint64 (v)
 
21
#define g_marshal_value_peek_enum(v)     g_value_get_enum (v)
 
22
#define g_marshal_value_peek_flags(v)    g_value_get_flags (v)
 
23
#define g_marshal_value_peek_float(v)    g_value_get_float (v)
 
24
#define g_marshal_value_peek_double(v)   g_value_get_double (v)
 
25
#define g_marshal_value_peek_string(v)   (char*) g_value_get_string (v)
 
26
#define g_marshal_value_peek_param(v)    g_value_get_param (v)
 
27
#define g_marshal_value_peek_boxed(v)    g_value_get_boxed (v)
 
28
#define g_marshal_value_peek_pointer(v)  g_value_get_pointer (v)
 
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)
 
31
#else /* !G_ENABLE_DEBUG */
 
32
/* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
 
33
 *          Do not access GValues directly in your code. Instead, use the
 
34
 *          g_value_get_*() functions
 
35
 */
 
36
#define g_marshal_value_peek_boolean(v)  (v)->data[0].v_int
 
37
#define g_marshal_value_peek_char(v)     (v)->data[0].v_int
 
38
#define g_marshal_value_peek_uchar(v)    (v)->data[0].v_uint
 
39
#define g_marshal_value_peek_int(v)      (v)->data[0].v_int
 
40
#define g_marshal_value_peek_uint(v)     (v)->data[0].v_uint
 
41
#define g_marshal_value_peek_long(v)     (v)->data[0].v_long
 
42
#define g_marshal_value_peek_ulong(v)    (v)->data[0].v_ulong
 
43
#define g_marshal_value_peek_int64(v)    (v)->data[0].v_int64
 
44
#define g_marshal_value_peek_uint64(v)   (v)->data[0].v_uint64
 
45
#define g_marshal_value_peek_enum(v)     (v)->data[0].v_long
 
46
#define g_marshal_value_peek_flags(v)    (v)->data[0].v_ulong
 
47
#define g_marshal_value_peek_float(v)    (v)->data[0].v_float
 
48
#define g_marshal_value_peek_double(v)   (v)->data[0].v_double
 
49
#define g_marshal_value_peek_string(v)   (v)->data[0].v_pointer
 
50
#define g_marshal_value_peek_param(v)    (v)->data[0].v_pointer
 
51
#define g_marshal_value_peek_boxed(v)    (v)->data[0].v_pointer
 
52
#define g_marshal_value_peek_pointer(v)  (v)->data[0].v_pointer
 
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
 
55
#endif /* !G_ENABLE_DEBUG */
 
56
 
 
57
 
 
58
/* BOOLEAN:UINT,BOOLEAN,POINTER */
 
59
extern void dbus_glib_marshal_panel_plugin_external_wrapper_BOOLEAN__UINT_BOOLEAN_POINTER (GClosure     *closure,
 
60
                                                                                           GValue       *return_value,
 
61
                                                                                           guint         n_param_values,
 
62
                                                                                           const GValue *param_values,
 
63
                                                                                           gpointer      invocation_hint,
 
64
                                                                                           gpointer      marshal_data);
 
65
void
 
66
dbus_glib_marshal_panel_plugin_external_wrapper_BOOLEAN__UINT_BOOLEAN_POINTER (GClosure     *closure,
 
67
                                                                               GValue       *return_value G_GNUC_UNUSED,
 
68
                                                                               guint         n_param_values,
 
69
                                                                               const GValue *param_values,
 
70
                                                                               gpointer      invocation_hint G_GNUC_UNUSED,
 
71
                                                                               gpointer      marshal_data)
 
72
{
 
73
  typedef gboolean (*GMarshalFunc_BOOLEAN__UINT_BOOLEAN_POINTER) (gpointer     data1,
 
74
                                                                  guint        arg_1,
 
75
                                                                  gboolean     arg_2,
 
76
                                                                  gpointer     arg_3,
 
77
                                                                  gpointer     data2);
 
78
  register GMarshalFunc_BOOLEAN__UINT_BOOLEAN_POINTER callback;
 
79
  register GCClosure *cc = (GCClosure*) closure;
 
80
  register gpointer data1, data2;
 
81
  gboolean v_return;
 
82
 
 
83
  g_return_if_fail (return_value != NULL);
 
84
  g_return_if_fail (n_param_values == 4);
 
85
 
 
86
  if (G_CCLOSURE_SWAP_DATA (closure))
 
87
    {
 
88
      data1 = closure->data;
 
89
      data2 = g_value_peek_pointer (param_values + 0);
 
90
    }
 
91
  else
 
92
    {
 
93
      data1 = g_value_peek_pointer (param_values + 0);
 
94
      data2 = closure->data;
 
95
    }
 
96
  callback = (GMarshalFunc_BOOLEAN__UINT_BOOLEAN_POINTER) (marshal_data ? marshal_data : cc->callback);
 
97
 
 
98
  v_return = callback (data1,
 
99
                       g_marshal_value_peek_uint (param_values + 1),
 
100
                       g_marshal_value_peek_boolean (param_values + 2),
 
101
                       g_marshal_value_peek_pointer (param_values + 3),
 
102
                       data2);
 
103
 
 
104
  g_value_set_boolean (return_value, v_return);
 
105
}
 
106
 
 
107
/* BOOLEAN:UINT,POINTER */
 
108
extern void dbus_glib_marshal_panel_plugin_external_wrapper_BOOLEAN__UINT_POINTER (GClosure     *closure,
 
109
                                                                                   GValue       *return_value,
 
110
                                                                                   guint         n_param_values,
 
111
                                                                                   const GValue *param_values,
 
112
                                                                                   gpointer      invocation_hint,
 
113
                                                                                   gpointer      marshal_data);
 
114
void
 
115
dbus_glib_marshal_panel_plugin_external_wrapper_BOOLEAN__UINT_POINTER (GClosure     *closure,
 
116
                                                                       GValue       *return_value G_GNUC_UNUSED,
 
117
                                                                       guint         n_param_values,
 
118
                                                                       const GValue *param_values,
 
119
                                                                       gpointer      invocation_hint G_GNUC_UNUSED,
 
120
                                                                       gpointer      marshal_data)
 
121
{
 
122
  typedef gboolean (*GMarshalFunc_BOOLEAN__UINT_POINTER) (gpointer     data1,
 
123
                                                          guint        arg_1,
 
124
                                                          gpointer     arg_2,
 
125
                                                          gpointer     data2);
 
126
  register GMarshalFunc_BOOLEAN__UINT_POINTER callback;
 
127
  register GCClosure *cc = (GCClosure*) closure;
 
128
  register gpointer data1, data2;
 
129
  gboolean v_return;
 
130
 
 
131
  g_return_if_fail (return_value != NULL);
 
132
  g_return_if_fail (n_param_values == 3);
 
133
 
 
134
  if (G_CCLOSURE_SWAP_DATA (closure))
 
135
    {
 
136
      data1 = closure->data;
 
137
      data2 = g_value_peek_pointer (param_values + 0);
 
138
    }
 
139
  else
 
140
    {
 
141
      data1 = g_value_peek_pointer (param_values + 0);
 
142
      data2 = closure->data;
 
143
    }
 
144
  callback = (GMarshalFunc_BOOLEAN__UINT_POINTER) (marshal_data ? marshal_data : cc->callback);
 
145
 
 
146
  v_return = callback (data1,
 
147
                       g_marshal_value_peek_uint (param_values + 1),
 
148
                       g_marshal_value_peek_pointer (param_values + 2),
 
149
                       data2);
 
150
 
 
151
  g_value_set_boolean (return_value, v_return);
 
152
}
 
153
 
 
154
G_END_DECLS
 
155
 
 
156
#endif /* __dbus_glib_marshal_panel_plugin_external_wrapper_MARSHAL_H__ */
 
157
 
 
158
#include <dbus/dbus-glib.h>
 
159
static const DBusGMethodInfo dbus_glib_panel_plugin_external_wrapper_methods[] = {
 
160
  { (GCallback) panel_plugin_external_wrapper_dbus_provider_signal, dbus_glib_marshal_panel_plugin_external_wrapper_BOOLEAN__UINT_POINTER, 0 },
 
161
  { (GCallback) panel_plugin_external_wrapper_dbus_remote_event_result, dbus_glib_marshal_panel_plugin_external_wrapper_BOOLEAN__UINT_BOOLEAN_POINTER, 52 },
 
162
};
 
163
 
 
164
const DBusGObjectInfo dbus_glib_panel_plugin_external_wrapper_object_info = {  1,
 
165
  dbus_glib_panel_plugin_external_wrapper_methods,
 
166
  2,
 
167
"org.xfce.Panel.Wrapper\0ProviderSignal\0S\0signal\0I\0u\0\0org.xfce.Panel.Wrapper\0RemoteEventResult\0S\0handle\0I\0u\0result\0I\0b\0\0\0",
 
168
"org.xfce.Panel.Wrapper\0Set\0org.xfce.Panel.Wrapper\0RemoteEvent\0\0",
 
169
"\0"
 
170
};
 
171