~smspillaz/compiz-libcompizconfig/setting-mock

« back to all changes in this revision

Viewing changes to src/compiz.cpp

  • Committer: smspillaz
  • Date: 2012-05-11 17:55:39 UTC
  • mfrom: (461.1.29 plugin-mock)
  • Revision ID: sam.spilsbury@canonical.com-20120511175539-j5lnxq53k9pfzjpf
Merged plugin-mock into setting-mock.

Show diffs side-by-side

added added

removed removed

Lines of Context:
563
563
 
564
564
    setting = (CCSSetting *) calloc (1, sizeof (CCSSetting));
565
565
 
 
566
    if (!setting)
 
567
        return;
 
568
 
566
569
    ccsObjectInit (setting, &ccsDefaultObjectAllocator);
567
 
    if (!setting)
568
 
        return;
569
570
 
570
571
    CCSSettingPrivate *ccsPrivate = (CCSSettingPrivate *) calloc (1, sizeof (CCSSettingPrivate));
571
572
 
2018
2019
 
2019
2020
    setting = (CCSSetting *) calloc (1, sizeof (CCSSetting));
2020
2021
 
 
2022
    if (!setting)
 
2023
        return;
 
2024
 
2021
2025
    ccsObjectInit (setting, &ccsDefaultObjectAllocator);
2022
 
    if (!setting)
2023
 
        return;
2024
2026
 
2025
2027
    CCSSettingPrivate *ccsPrivate = (CCSSettingPrivate *) calloc (1, sizeof (CCSSettingPrivate));
2026
2028