~ubuntu-branches/ubuntu/saucy/evolution-data-server/saucy

« back to all changes in this revision

Viewing changes to camel/camel-imapx-settings.c

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-10-08 12:58:16 UTC
  • mfrom: (181.1.7 quantal)
  • Revision ID: package-import@ubuntu.com-20121008125816-i3n76e8c0m64e7xp
Tags: 3.6.0-0ubuntu2
* Fix LP: #1038047 part 1 - Don't abort in e_source_registry_new* when a
  problem occurs connecting to the Dbus service
  - add debian/patches/dont-abort-in-e_source_registry_new.patch
  - update debian/patches/series
* Fix LP: #1038047 part 2 - libedataserver depends on
  evolution-data-server-common to ensure that the GSettings schemas are
  present
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
719
719
{
720
720
        g_return_if_fail (CAMEL_IS_IMAPX_SETTINGS (settings));
721
721
 
722
 
        if ((settings->priv->check_all ? 1 : 0) == (check_all ? 1 : 0))
 
722
        if (settings->priv->check_all == check_all)
723
723
                return;
724
724
 
725
725
        settings->priv->check_all = check_all;
762
762
{
763
763
        g_return_if_fail (CAMEL_IS_IMAPX_SETTINGS (settings));
764
764
 
765
 
        if ((settings->priv->check_subscribed ? 1 : 0) == (check_subscribed ? 1 : 0))
 
765
        if (settings->priv->check_subscribed == check_subscribed)
766
766
                return;
767
767
 
768
768
        settings->priv->check_subscribed = check_subscribed;
898
898
{
899
899
        g_return_if_fail (CAMEL_IS_IMAPX_SETTINGS (settings));
900
900
 
901
 
        if ((settings->priv->filter_all ? 1 : 0) == (filter_all ? 1 : 0))
 
901
        if (settings->priv->filter_all == filter_all)
902
902
                return;
903
903
 
904
904
        settings->priv->filter_all = filter_all;
941
941
{
942
942
        g_return_if_fail (CAMEL_IS_IMAPX_SETTINGS (settings));
943
943
 
944
 
        if ((settings->priv->filter_junk ? 1 : 0) == (filter_junk ? 1 : 0))
 
944
        if (settings->priv->filter_junk == filter_junk)
945
945
                return;
946
946
 
947
947
        settings->priv->filter_junk = filter_junk;
984
984
{
985
985
        g_return_if_fail (CAMEL_IS_IMAPX_SETTINGS (settings));
986
986
 
987
 
        if ((settings->priv->filter_junk_inbox ? 1 : 0) == (filter_junk_inbox ? 1 : 0))
 
987
        if (settings->priv->filter_junk_inbox == filter_junk_inbox)
988
988
                return;
989
989
 
990
990
        settings->priv->filter_junk_inbox = filter_junk_inbox;
1025
1025
{
1026
1026
        g_return_if_fail (CAMEL_IS_IMAPX_SETTINGS (settings));
1027
1027
 
1028
 
        if ((settings->priv->use_mobile_mode ? 1 : 0) == (mobile_mode ? 1 : 0))
 
1028
        if (settings->priv->use_mobile_mode == mobile_mode)
1029
1029
                return;
1030
1030
 
1031
1031
        settings->priv->use_mobile_mode = mobile_mode;
1249
1249
{
1250
1250
        g_return_if_fail (CAMEL_IS_IMAPX_SETTINGS (settings));
1251
1251
 
1252
 
        if ((settings->priv->use_idle ? 1 : 0) == (use_idle ? 1 : 0))
 
1252
        if (settings->priv->use_idle == use_idle)
1253
1253
                return;
1254
1254
 
1255
1255
        settings->priv->use_idle = use_idle;
1292
1292
{
1293
1293
        g_return_if_fail (CAMEL_IS_IMAPX_SETTINGS (settings));
1294
1294
 
1295
 
        if ((settings->priv->use_namespace ? 1 : 0) == (use_namespace ? 1 : 0))
 
1295
        if (settings->priv->use_namespace == use_namespace)
1296
1296
                return;
1297
1297
 
1298
1298
        settings->priv->use_namespace = use_namespace;
1337
1337
{
1338
1338
        g_return_if_fail (CAMEL_IS_IMAPX_SETTINGS (settings));
1339
1339
 
1340
 
        if ((settings->priv->use_qresync ? 1 : 0) == (use_qresync ? 1 : 0))
 
1340
        if (settings->priv->use_qresync == use_qresync)
1341
1341
                return;
1342
1342
 
1343
1343
        settings->priv->use_qresync = use_qresync;
1395
1395
{
1396
1396
        g_return_if_fail (CAMEL_IS_IMAPX_SETTINGS (settings));
1397
1397
 
1398
 
        if ((settings->priv->use_shell_command ? 1 : 0) == (use_shell_command ? 1 : 0))
 
1398
        if (settings->priv->use_shell_command == use_shell_command)
1399
1399
                return;
1400
1400
 
1401
1401
        settings->priv->use_shell_command = use_shell_command;
1438
1438
{
1439
1439
        g_return_if_fail (CAMEL_IS_IMAPX_SETTINGS (settings));
1440
1440
 
1441
 
        if ((settings->priv->use_subscriptions ? 1 : 0) == (use_subscriptions ? 1 : 0))
 
1441
        if (settings->priv->use_subscriptions == use_subscriptions)
1442
1442
                return;
1443
1443
 
1444
1444
        settings->priv->use_subscriptions = use_subscriptions;