[empathy/mc5] Fix errors revealed by make check



commit 17ae7af66b0baa2b898445dee8e79a670e588891
Author: Jonathan Tellier <jonathan tellier gmail com>
Date:   Fri Aug 21 15:11:32 2009 -0400

    Fix errors revealed by make check
    
    - Added missing files in po/POTFILES.in
    - Fixed style

 libempathy-gtk/empathy-account-widget.c   |    2 +-
 libempathy-gtk/empathy-protocol-chooser.c |    2 +-
 po/POTFILES.in                            |    1 +
 src/empathy-account-assistant.c           |   10 +++++-----
 src/empathy-accounts-dialog.c             |    4 ++--
 src/empathy-import-dialog.c               |    4 ++--
 src/empathy-import-widget.c               |    4 ++--
 7 files changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 2f6537a..7a72deb 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -1190,7 +1190,7 @@ do_constructed (GObject *obj)
           G_CALLBACK (account_widget_apply_clicked_cb),
           self);
       gtk_widget_show_all (hbox);
-      account_widget_set_control_buttons_sensitivity(self, FALSE);
+      account_widget_set_control_buttons_sensitivity (self, FALSE);
     }
 
   account = empathy_account_settings_get_account (priv->settings);
diff --git a/libempathy-gtk/empathy-protocol-chooser.c b/libempathy-gtk/empathy-protocol-chooser.c
index 70ba60b..f148edb 100644
--- a/libempathy-gtk/empathy-protocol-chooser.c
+++ b/libempathy-gtk/empathy-protocol-chooser.c
@@ -59,7 +59,7 @@
 typedef struct
 {
   GtkListStore *store;
-  
+
   gboolean dispose_run;
   EmpathyConnectionManagers *cms;
 
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d2759b5..a140f16 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -76,6 +76,7 @@ src/empathy-event-manager.c
 src/empathy-ft-manager.c
 [type: gettext/glade]src/empathy-ft-manager.ui
 src/empathy-import-dialog.c
+src/empathy-import-widget.c
 [type: gettext/glade]src/empathy-import-dialog.ui
 src/empathy-import-widget.c
 src/empathy-main-window.c
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 8b803a9..e375aa7 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -390,7 +390,7 @@ account_assistant_finish_enter_or_create_page (EmpathyAccountAssistant *self,
     gboolean is_enter)
 {
   EmpathyAccountAssistantPriv *priv = GET_PRIV (self);
-  
+
   if (is_enter)
     {
       gtk_label_set_label (GTK_LABEL (priv->first_label),
@@ -426,10 +426,10 @@ account_assistant_finish_enter_or_create_page (EmpathyAccountAssistant *self,
           priv->enter_or_create_page,
           _("Enter the details for the new account"));
     }
-    
+
   g_signal_connect (priv->chooser, "changed",
       G_CALLBACK (account_assistant_protocol_changed_cb), self);
- 
+
   /* trigger show the first account widget */
   account_assistant_protocol_changed_cb (GTK_COMBO_BOX (priv->chooser), self);
 }
@@ -568,7 +568,7 @@ account_assistant_build_introduction_page (EmpathyAccountAssistant *self)
   str = _("Yes, I'll enter my account details now");
 
   if (radio == NULL)
-    {      
+    {
       radio = gtk_radio_button_new_with_label (NULL, str);
       w = radio;
     }
@@ -772,7 +772,7 @@ impl_signal_prepare (GtkAssistant *assistant,
   gint current_idx;
 
   current_idx = gtk_assistant_get_current_page (assistant);
-  
+
   if (current_idx >= PAGE_ENTER_CREATE)
     {
       if (!priv->enter_create_forward)
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 30a7f72..43acfbc 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -243,7 +243,7 @@ account_dialog_create_settings_widget (EmpathyAccountsDialog *dialog,
       empathy_account_settings_get_protocol (settings));
 
   accounts_dialog_update_name_label (dialog,
-      empathy_account_settings_get_display_name(settings));
+      empathy_account_settings_get_display_name (settings));
 
   g_free (icon_name);
 }
@@ -1061,7 +1061,7 @@ accounts_dialog_account_changed_cb (EmpathyAccountManager *manager,
 
   if (settings == selected_settings)
     accounts_dialog_update_name_label (dialog,
-        empathy_account_settings_get_display_name(settings));
+        empathy_account_settings_get_display_name (settings));
 
   if (settings)
     g_object_unref (settings);
diff --git a/src/empathy-import-dialog.c b/src/empathy-import-dialog.c
index 7ca0285..94c6fd7 100644
--- a/src/empathy-import-dialog.c
+++ b/src/empathy-import-dialog.c
@@ -61,14 +61,14 @@ import_dialog_add_import_widget (EmpathyImportDialog *self)
   GtkWidget *widget, *area;
 
   area = gtk_dialog_get_content_area (GTK_DIALOG (self));
-  
+
   iw = empathy_import_widget_new (EMPATHY_IMPORT_APPLICATION_ALL);
   widget = empathy_import_widget_get_widget (iw);
   gtk_box_pack_start (GTK_BOX (area), widget, FALSE, FALSE, 0);
   gtk_widget_show (widget);
 
   priv->iw = iw;
-  
+
   gtk_dialog_add_buttons (GTK_DIALOG (self), GTK_STOCK_CANCEL,
       GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL);
 }
diff --git a/src/empathy-import-widget.c b/src/empathy-import-widget.c
index 0311735..17f1962 100644
--- a/src/empathy-import-widget.c
+++ b/src/empathy-import-widget.c
@@ -85,7 +85,7 @@ import_widget_account_id_in_list (GList *accounts,
 
       parameters = empathy_account_get_parameters (account);
 
-      value = g_hash_table_lookup ((GHashTable *)parameters, "account");
+      value = g_hash_table_lookup ((GHashTable *) parameters, "account");
 
       if (value == NULL)
         continue;
@@ -438,7 +438,7 @@ do_constructed (GObject *obj)
   gchar *filename;
 
   priv->accounts = empathy_import_accounts_load (priv->app_id);
-  
+
   filename = empathy_file_lookup ("empathy-import-dialog.ui", "src");
   gui = empathy_builder_get_file (filename,
       "widget_vbox", &priv->vbox,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]