~ubuntu-branches/debian/experimental/xfdesktop4/experimental

« back to all changes in this revision

Viewing changes to src/xfdesktop-marshal.c

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez, Yves-Alexis Perez, Lionel Le Folgoc
  • Date: 2011-02-07 00:17:47 UTC
  • mfrom: (1.4.9 upstream) (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110207001747-htl6rhaglfhhik8g
Tags: 4.8.1-1
[ Yves-Alexis Perez ]
* New upstream development release.
* debian/control:
  - update standards version to 3.9.1.
  - refresh build-deps for Xfce 4.7.
  - add build dep on libxfce4ui-1-dev.
  - drop xfce4-panel build-dep since we don't build any plugin anymore.
  - add build-dep on hardening-includes.
* Switch to 3.0 (quilt) source format.
* debian/rules:
  - pick {C,LD}FLAGS from dpkg-buildflags.
  - drop --libexecdir, --disable-rpath and --enable-final from configure args.
  - drop usr/lib from chrpath call, it doesn't exist anymore.
  - don't rename generic terminal .desktop file, it's gone too.
  - pass docdir to configure.
  - add hardening flags to {C,LD}FLAGS
* debian/xfdesktop4-data.install:
  - drop usr/share/desktop-directories from install file.
* debian/xfdesktop4.install:
  - drop etc/ no menu is installed anymore.
  - drop usr/ too, no more desktop menu module nor panel plugin. 
* debian/copyright updated for new upstream release.

[ Lionel Le Folgoc ]
* New upstream bugfix release.
* debian/control: clean up build-deps since xfdesktop has been ported to gio,
  exo-1 and garcon.
* Refresh build-deps for Xfce 4.8.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define g_marshal_value_peek_boxed(v)    g_value_get_boxed (v)
23
23
#define g_marshal_value_peek_pointer(v)  g_value_get_pointer (v)
24
24
#define g_marshal_value_peek_object(v)   g_value_get_object (v)
 
25
#define g_marshal_value_peek_variant(v)  g_value_get_variant (v)
25
26
#else /* !G_ENABLE_DEBUG */
26
27
/* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
27
28
 *          Do not access GValues directly in your code. Instead, use the
45
46
#define g_marshal_value_peek_boxed(v)    (v)->data[0].v_pointer
46
47
#define g_marshal_value_peek_pointer(v)  (v)->data[0].v_pointer
47
48
#define g_marshal_value_peek_object(v)   (v)->data[0].v_pointer
 
49
#define g_marshal_value_peek_variant(v)  (v)->data[0].v_pointer
48
50
#endif /* !G_ENABLE_DEBUG */
49
51
 
50
52
 
85
87
  g_value_set_boolean (return_value, v_return);
86
88
}
87
89
 
 
90
/* BOOLEAN:ENUM,INT (xfdesktop-marshal.list:2) */
 
91
void
 
92
xfdesktop_marshal_BOOLEAN__ENUM_INT (GClosure     *closure,
 
93
                                     GValue       *return_value G_GNUC_UNUSED,
 
94
                                     guint         n_param_values,
 
95
                                     const GValue *param_values,
 
96
                                     gpointer      invocation_hint G_GNUC_UNUSED,
 
97
                                     gpointer      marshal_data)
 
98
{
 
99
  typedef gboolean (*GMarshalFunc_BOOLEAN__ENUM_INT) (gpointer     data1,
 
100
                                                      gint         arg_1,
 
101
                                                      gint         arg_2,
 
102
                                                      gpointer     data2);
 
103
  register GMarshalFunc_BOOLEAN__ENUM_INT callback;
 
104
  register GCClosure *cc = (GCClosure*) closure;
 
105
  register gpointer data1, data2;
 
106
  gboolean v_return;
 
107
 
 
108
  g_return_if_fail (return_value != NULL);
 
109
  g_return_if_fail (n_param_values == 3);
 
110
 
 
111
  if (G_CCLOSURE_SWAP_DATA (closure))
 
112
    {
 
113
      data1 = closure->data;
 
114
      data2 = g_value_peek_pointer (param_values + 0);
 
115
    }
 
116
  else
 
117
    {
 
118
      data1 = g_value_peek_pointer (param_values + 0);
 
119
      data2 = closure->data;
 
120
    }
 
121
  callback = (GMarshalFunc_BOOLEAN__ENUM_INT) (marshal_data ? marshal_data : cc->callback);
 
122
 
 
123
  v_return = callback (data1,
 
124
                       g_marshal_value_peek_enum (param_values + 1),
 
125
                       g_marshal_value_peek_int (param_values + 2),
 
126
                       data2);
 
127
 
 
128
  g_value_set_boolean (return_value, v_return);
 
129
}
 
130