~ubuntu-branches/ubuntu/saucy/atkmm1.6/saucy-proposed

« back to all changes in this revision

Viewing changes to atk/atkmm/streamablecontent.cc

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-05-28 13:04:34 UTC
  • mfrom: (0.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20130528130434-e0esxsm4eo8bn8tf
Tags: 2.22.7-1ubuntu1
* Resynchronize on Debian, remaining diff
* Convert to multiarch (LP: #902703):
  - Pass --libdir with multiarch path to configure
  - Adjust .install files to refer to /usr/lib subdirs
  - Add multiarch Pre-Depends
  - Bump debhelper and cdbs build-deps for ${misc:Pre-Depends} and
    $(DEB_HOST_MULTIARCH) support, respectively
* debian/compat: update to 9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
 
129
129
  // Call the original underlying C function:
130
130
  if(base && base->get_n_mime_types)
131
 
    return (*base->get_n_mime_types)(self);
 
131
  {
 
132
    int retval = (*base->get_n_mime_types)(self);
 
133
    return retval;
 
134
  }
132
135
 
133
136
 
134
137
  typedef int RType;
173
176
 
174
177
  // Call the original underlying C function:
175
178
  if(base && base->get_mime_type)
176
 
    return (*base->get_mime_type)(self, i);
 
179
  {
 
180
    const gchar* retval = (*base->get_mime_type)(self, i);
 
181
    return retval;
 
182
  }
177
183
 
178
184
 
179
185
  typedef const gchar* RType;
218
224
 
219
225
  // Call the original underlying C function:
220
226
  if(base && base->get_stream)
221
 
    return (*base->get_stream)(self, mime_type);
 
227
  {
 
228
    GIOChannel* retval = (*base->get_stream)(self, mime_type);
 
229
    return retval;
 
230
  }
222
231
 
223
232
 
224
233
  typedef GIOChannel* RType;
296
305
)  );
297
306
 
298
307
  if(base && base->get_n_mime_types)
299
 
    return (*base->get_n_mime_types)(const_cast<AtkStreamableContent*>(gobj()));
 
308
  {
 
309
    int retval((*base->get_n_mime_types)(const_cast<AtkStreamableContent*>(gobj())));
 
310
    return retval;
 
311
  }
300
312
 
301
313
  typedef int RType;
302
314
  return RType();
309
321
)  );
310
322
 
311
323
  if(base && base->get_mime_type)
312
 
    return (*base->get_mime_type)(const_cast<AtkStreamableContent*>(gobj()),i);
 
324
  {
 
325
    const gchar* retval((*base->get_mime_type)(const_cast<AtkStreamableContent*>(gobj()),i));
 
326
    return retval;
 
327
  }
313
328
 
314
329
  typedef const gchar* RType;
315
330
  return RType();
322
337
)  );
323
338
 
324
339
  if(base && base->get_stream)
325
 
    return (*base->get_stream)(gobj(),mime_type.c_str());
 
340
  {
 
341
    GIOChannel* retval((*base->get_stream)(gobj(),mime_type.c_str()));
 
342
    return retval;
 
343
  }
326
344
 
327
345
  typedef GIOChannel* RType;
328
346
  return RType();