~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to libgimpwidgets/gimpwidgetsmarshal.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
            data2);
201
201
}
202
202
 
203
 
/* BOOLEAN:POINTER (./gimpwidgetsmarshal.list:32) */
 
203
/* VOID:STRING,INT (./gimpwidgetsmarshal.list:31) */
 
204
void
 
205
_gimp_widgets_marshal_VOID__STRING_INT (GClosure     *closure,
 
206
                                        GValue       *return_value,
 
207
                                        guint         n_param_values,
 
208
                                        const GValue *param_values,
 
209
                                        gpointer      invocation_hint,
 
210
                                        gpointer      marshal_data)
 
211
{
 
212
  typedef void (*GMarshalFunc_VOID__STRING_INT) (gpointer     data1,
 
213
                                                 gpointer     arg_1,
 
214
                                                 gint         arg_2,
 
215
                                                 gpointer     data2);
 
216
  register GMarshalFunc_VOID__STRING_INT callback;
 
217
  register GCClosure *cc = (GCClosure*) closure;
 
218
  register gpointer data1, data2;
 
219
 
 
220
  g_return_if_fail (n_param_values == 3);
 
221
 
 
222
  if (G_CCLOSURE_SWAP_DATA (closure))
 
223
    {
 
224
      data1 = closure->data;
 
225
      data2 = g_value_peek_pointer (param_values + 0);
 
226
    }
 
227
  else
 
228
    {
 
229
      data1 = g_value_peek_pointer (param_values + 0);
 
230
      data2 = closure->data;
 
231
    }
 
232
  callback = (GMarshalFunc_VOID__STRING_INT) (marshal_data ? marshal_data : cc->callback);
 
233
 
 
234
  callback (data1,
 
235
            g_marshal_value_peek_string (param_values + 1),
 
236
            g_marshal_value_peek_int (param_values + 2),
 
237
            data2);
 
238
}
 
239
 
 
240
/* VOID:DOUBLE,DOUBLE (./gimpwidgetsmarshal.list:32) */
 
241
void
 
242
_gimp_widgets_marshal_VOID__DOUBLE_DOUBLE (GClosure     *closure,
 
243
                                           GValue       *return_value,
 
244
                                           guint         n_param_values,
 
245
                                           const GValue *param_values,
 
246
                                           gpointer      invocation_hint,
 
247
                                           gpointer      marshal_data)
 
248
{
 
249
  typedef void (*GMarshalFunc_VOID__DOUBLE_DOUBLE) (gpointer     data1,
 
250
                                                    gdouble      arg_1,
 
251
                                                    gdouble      arg_2,
 
252
                                                    gpointer     data2);
 
253
  register GMarshalFunc_VOID__DOUBLE_DOUBLE callback;
 
254
  register GCClosure *cc = (GCClosure*) closure;
 
255
  register gpointer data1, data2;
 
256
 
 
257
  g_return_if_fail (n_param_values == 3);
 
258
 
 
259
  if (G_CCLOSURE_SWAP_DATA (closure))
 
260
    {
 
261
      data1 = closure->data;
 
262
      data2 = g_value_peek_pointer (param_values + 0);
 
263
    }
 
264
  else
 
265
    {
 
266
      data1 = g_value_peek_pointer (param_values + 0);
 
267
      data2 = closure->data;
 
268
    }
 
269
  callback = (GMarshalFunc_VOID__DOUBLE_DOUBLE) (marshal_data ? marshal_data : cc->callback);
 
270
 
 
271
  callback (data1,
 
272
            g_marshal_value_peek_double (param_values + 1),
 
273
            g_marshal_value_peek_double (param_values + 2),
 
274
            data2);
 
275
}
 
276
 
 
277
/* BOOLEAN:POINTER (./gimpwidgetsmarshal.list:34) */
204
278
void
205
279
_gimp_widgets_marshal_BOOLEAN__POINTER (GClosure     *closure,
206
280
                                        GValue       *return_value,