changes: Bump to 3.8.1
[platform/upstream/evolution-data-server.git] / libedataserver / e-source-mail-submission.c
index 951db19..4100b1f 100644 (file)
@@ -1,18 +1,17 @@
 /*
  * e-source-mail-submission.c
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) version 3.
+ * This library is free software you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * for more details.
  *
- * You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; if not, see <http://www.gnu.org/licenses/>.
  *
  */
 
@@ -189,7 +188,8 @@ e_source_mail_submission_class_init (ESourceMailSubmissionClass *class)
                g_param_spec_boolean (
                        "replies-to-origin-folder",
                        "Replies to origin folder",
-                       "Whether to save replies to folder of the message being replied to, instead of the Sent folder",
+                       "Whether to save replies to folder of the message "
+                       "being replied to, instead of the Sent folder",
                        FALSE,
                        G_PARAM_READWRITE |
                        G_PARAM_CONSTRUCT |
@@ -406,7 +406,7 @@ e_source_mail_submission_set_replies_to_origin_folder (ESourceMailSubmission *ex
 {
        g_return_if_fail (E_IS_SOURCE_MAIL_SUBMISSION (extension));
 
-       if ((extension->priv->replies_to_origin_folder ? 1 : 0) == (replies_to_origin_folder ? 1 : 0))
+       if (extension->priv->replies_to_origin_folder == replies_to_origin_folder)
                return;
 
        extension->priv->replies_to_origin_folder = replies_to_origin_folder;