Emmanuele Bassi 473f3817d4 model: Clean up ModelIter vfunc wrappers
All ClutterModelIter virtual functions have a default implementation,
and G_TYPE_INSTANCE_GET_CLASS cannot return NULL unless in case of a
catastrophic event in the type system - which will most likely blow up
any application code way before you could call a ModelIter method.

Thus, the idiom:

  klass = CLUTTER_MODEL_ITER_GET_CLASS (instance);
  if (klass && klass->vfunc)
    klass->vfunc (instance);

is utterly useless complication, and it can be perfectly replaced by:

  CLUTTER_MODEL_ITER_GET_CLASS (instance)->vfunc (instance);

without any loss of safety.
2011-07-29 11:29:51 +01:00
..
2011-04-18 16:24:27 +01:00
2011-07-13 19:33:11 +01:00
2011-05-06 15:44:08 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2010-10-18 11:26:44 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-07-26 13:55:24 +01:00
2010-03-02 11:12:32 +00:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2010-10-21 12:22:17 +01:00
2011-06-07 16:06:24 +01:00
2011-06-20 15:25:53 +01:00
2011-06-07 16:06:24 +01:00
2010-10-21 12:22:17 +01:00
2011-07-08 12:01:08 +01:00
2011-07-08 12:01:08 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-10 15:15:15 +01:00
2011-06-20 14:26:57 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2010-03-02 11:12:32 +00:00
2011-06-20 15:25:53 +01:00