Use GTK+ single includes
[modest] / src / gnome / modest-default-account-settings-dialog.c
index 85fe69a..fabc986 100644 (file)
 
 #include "widgets/modest-account-settings-dialog.h"
 #include <glib/gi18n.h>
-#include <gtk/gtknotebook.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkcombobox.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtkbutton.h>
-#include <gtk/gtkcheckbutton.h>
-#include <gtk/gtkmessagedialog.h>
-#include <gtk/gtkstock.h>
+#include <gtk/gtk.h>
 
 #include "widgets/modest-serversecurity-combo-box.h"
 #include "widgets/modest-secureauth-combo-box.h"
@@ -996,7 +988,7 @@ check_data (ModestAccountSettingsDialog *self)
        if (!account_title)
                return FALSE; /* Should be prevented already anyway. */
                
-       if (strcmp(account_title, priv->original_account_title) != 0) {
+       if (g_strcmp0 (account_title, priv->original_account_title) != 0) {
                /* Check the changed title: */
                const gboolean name_in_use  = modest_account_mgr_account_with_display_name_exists (priv->account_manager,
                        account_title);