(apparently, -Wall/-Werror broke compilations with newer gcc's)
* remove the now unused curl echo from configure.ac
pmo-trunk-r3976
echo "Build tests : $build_tests"
echo "Build docs : $build_docs"
echo "Gettext Package : $GETTEXT_PACKAGE"
echo "Build tests : $build_tests"
echo "Build docs : $build_docs"
echo "Gettext Package : $GETTEXT_PACKAGE"
-echo "libcurl : $have_libcurl"
if test "x$with_platform" == "xmaemo"; then
echo "Maemo Launcher : $maemo_launcher"
if test "x$with_platform" == "xmaemo"; then
echo "Maemo Launcher : $maemo_launcher"
has_errors = !modest_account_mgr_set_string (self, account_name, MODEST_ACCOUNT_HOSTNAME,
hostname, TRUE);
has_errors = !modest_account_mgr_set_string (self, account_name, MODEST_ACCOUNT_HOSTNAME,
hostname, TRUE);
- has_errors || (has_errors = !modest_account_mgr_set_string (self, account_name, MODEST_ACCOUNT_USERNAME,
+ if (!has_errors)
+ (has_errors = !modest_account_mgr_set_string (self, account_name, MODEST_ACCOUNT_USERNAME,
- has_errors || (has_errors = !modest_account_mgr_set_string (self, account_name, MODEST_ACCOUNT_PASSWORD,
+ if (!has_errors)
+ (has_errors = !modest_account_mgr_set_string (self, account_name, MODEST_ACCOUNT_PASSWORD,
- has_errors || (has_errors = !modest_account_mgr_set_string (self, account_name, MODEST_ACCOUNT_PROTO,
+ if (!has_errors)
+ (has_errors = !modest_account_mgr_set_string (self, account_name, MODEST_ACCOUNT_PROTO,
- has_errors || (has_errors = !modest_account_mgr_set_int (self, account_name, MODEST_ACCOUNT_PORT,
+ if (!has_errors)
+ (has_errors = !modest_account_mgr_set_int (self, account_name, MODEST_ACCOUNT_PORT,
- has_errors || (has_errors = !modest_account_mgr_set_string (self, account_name,
+ if (!has_errors)
+ (has_errors = !modest_account_mgr_set_string (self, account_name,
MODEST_ACCOUNT_AUTH_MECH,
auth_protocol, TRUE));
MODEST_ACCOUNT_AUTH_MECH,
auth_protocol, TRUE));
- has_errors || (has_errors = !modest_account_mgr_set_string (self, account_name, MODEST_ACCOUNT_SECURITY,
+ if (!has_errors)
+ (has_errors = !modest_account_mgr_set_string (self, account_name, MODEST_ACCOUNT_SECURITY,
security,
TRUE));
} else {
const gchar *uri = modest_server_account_settings_get_uri (settings);
has_errors = !modest_account_mgr_set_string (self, account_name, MODEST_ACCOUNT_URI,
uri, TRUE);
security,
TRUE));
} else {
const gchar *uri = modest_server_account_settings_get_uri (settings);
has_errors = !modest_account_mgr_set_string (self, account_name, MODEST_ACCOUNT_URI,
uri, TRUE);
- has_errors || (has_errors = !modest_account_mgr_set_string (self, account_name, MODEST_ACCOUNT_PROTO,
+ if (!has_errors)
+ (has_errors = !modest_account_mgr_set_string (self, account_name, MODEST_ACCOUNT_PROTO,
GtkClipboard *clipboard;
if (GTK_IS_HTML (focused)) {
const gchar *sel;
GtkClipboard *clipboard;
if (GTK_IS_HTML (focused)) {
const gchar *sel;
sel = gtk_html_get_selection_html (GTK_HTML (focused), &len);
do_check = !((sel == NULL) || (sel[0] == '\0'));
}
sel = gtk_html_get_selection_html (GTK_HTML (focused), &len);
do_check = !((sel == NULL) || (sel[0] == '\0'));
}
result = !gtk_text_buffer_get_has_selection (buffer);
} else if (GTK_IS_HTML (focused)) {
const gchar *sel;
result = !gtk_text_buffer_get_has_selection (buffer);
} else if (GTK_IS_HTML (focused)) {
const gchar *sel;
sel = gtk_html_get_selection_html (GTK_HTML (focused), &len);
result = ((sel == NULL) || (sel[0] == '\0'));
} else if (MODEST_IS_ATTACHMENTS_VIEW (focused)) {
sel = gtk_html_get_selection_html (GTK_HTML (focused), &len);
result = ((sel == NULL) || (sel[0] == '\0'));
} else if (MODEST_IS_ATTACHMENTS_VIEW (focused)) {