diff options
author | Cosimo Cecchi <cosimo.cecchi@collabora.co.uk> | 2009-07-30 06:44:36 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimo.cecchi@collabora.co.uk> | 2009-07-30 06:44:36 +0800 |
commit | bf6b5979152190e78ca913c6cfd0b91e204c60fd (patch) | |
tree | 782526d2ab4ebdd549cafa2827bf08dfce371649 | |
parent | 6d753b4f94a7fd35a727f5a2359087379e8288b1 (diff) | |
download | gsoc2013-empathy-bf6b5979152190e78ca913c6cfd0b91e204c60fd.tar gsoc2013-empathy-bf6b5979152190e78ca913c6cfd0b91e204c60fd.tar.gz gsoc2013-empathy-bf6b5979152190e78ca913c6cfd0b91e204c60fd.tar.bz2 gsoc2013-empathy-bf6b5979152190e78ca913c6cfd0b91e204c60fd.tar.lz gsoc2013-empathy-bf6b5979152190e78ca913c6cfd0b91e204c60fd.tar.xz gsoc2013-empathy-bf6b5979152190e78ca913c6cfd0b91e204c60fd.tar.zst gsoc2013-empathy-bf6b5979152190e78ca913c6cfd0b91e204c60fd.zip |
Fix trailing whitespace
-rw-r--r-- | libempathy-gtk/empathy-account-widget.c | 18 | ||||
-rw-r--r-- | libempathy/empathy-account-manager.c | 6 | ||||
-rw-r--r-- | src/empathy-accounts-dialog.c | 12 |
3 files changed, 18 insertions, 18 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c index a9edc1b1c..6d5b2b279 100644 --- a/libempathy-gtk/empathy-account-widget.c +++ b/libempathy-gtk/empathy-account-widget.c @@ -51,7 +51,7 @@ G_DEFINE_TYPE (EmpathyAccountWidget, empathy_account_widget, G_TYPE_OBJECT) typedef struct { char *protocol; EmpathyAccountSettings *settings; - + GtkWidget *apply_button; GtkWidget *entry_password; GtkWidget *button_forget; @@ -145,7 +145,7 @@ account_widget_int_changed_cb (GtkWidget *widget, default: g_return_if_reached (); } - + account_widget_handle_apply_sensitivity (self); } @@ -176,7 +176,7 @@ account_widget_checkbutton_toggled_cb (GtkWidget *widget, DEBUG ("Setting %s to %d", param_name, value); empathy_account_settings_set_boolean (priv->settings, param_name, value); } - + account_widget_handle_apply_sensitivity (self); } @@ -238,7 +238,7 @@ account_widget_setup_widget (EmpathyAccountWidget *self, const gchar *param_name) { EmpathyAccountWidgetPriv *priv = GET_PRIV (self); - + g_object_set_data_full (G_OBJECT (widget), "param_name", g_strdup (param_name), g_free); @@ -495,7 +495,7 @@ account_widget_apply_clicked_cb (GtkWidget *button, EmpathyAccountWidget *self) { EmpathyAccountWidgetPriv *priv = GET_PRIV (self); - + empathy_account_settings_apply_async (priv->settings, NULL, NULL); } @@ -758,7 +758,7 @@ do_get_property (GObject *object, static void do_constructed (GObject *obj) -{ +{ EmpathyAccountWidget *self = EMPATHY_ACCOUNT_WIDGET (obj); EmpathyAccountWidgetPriv *priv = GET_PRIV (self); char *uiname, *filename; @@ -826,7 +826,7 @@ do_constructed (GObject *obj) self); g_signal_connect (priv->entry_password, "changed", G_CALLBACK (account_widget_password_changed_cb), - self); + self); } /* handle apply button */ @@ -904,7 +904,7 @@ empathy_account_widget_class_init (EmpathyAccountWidgetClass *klass) "settings", "The settings of the account", EMPATHY_TYPE_ACCOUNT_SETTINGS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT_ONLY); - g_object_class_install_property (oclass, PROP_SETTINGS, param_spec); + g_object_class_install_property (oclass, PROP_SETTINGS, param_spec); g_type_class_add_private (klass, sizeof (EmpathyAccountWidgetPriv)); } @@ -912,7 +912,7 @@ empathy_account_widget_class_init (EmpathyAccountWidgetClass *klass) static void empathy_account_widget_init (EmpathyAccountWidget *self) { - EmpathyAccountWidgetPriv *priv = + EmpathyAccountWidgetPriv *priv = G_TYPE_INSTANCE_GET_PRIVATE ((self), EMPATHY_TYPE_ACCOUNT_WIDGET, EmpathyAccountWidgetPriv); diff --git a/libempathy/empathy-account-manager.c b/libempathy/empathy-account-manager.c index cb86e0881..b037f5d30 100644 --- a/libempathy/empathy-account-manager.c +++ b/libempathy/empathy-account-manager.c @@ -107,7 +107,7 @@ emp_account_enabled_cb (EmpathyAccount *account, gpointer manager) { EmpathyAccountManagerPriv *priv = GET_PRIV (manager); - + if (empathy_account_is_enabled (account)) { g_signal_emit (manager, signals[ACCOUNT_ENABLED], 0, account); @@ -279,7 +279,7 @@ empathy_account_manager_check_ready (EmpathyAccountManager *manager) static void account_manager_account_ready_cb (GObject *obj, - GParamSpec *spec, + GParamSpec *spec, gpointer user_data) { EmpathyAccountManager *manager = EMPATHY_ACCOUNT_MANAGER (user_data); @@ -436,7 +436,7 @@ empathy_account_manager_init (EmpathyAccountManager *manager) priv->accounts = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, (GDestroyNotify) g_object_unref); - + priv->create_results = g_hash_table_new (g_direct_hash, g_direct_equal); priv->dbus = tp_dbus_daemon_dup (NULL); diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index 95c3ac146..7a9dffb79 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -367,7 +367,7 @@ accounts_dialog_name_editing_started_cb (GtkCellRenderer *renderer, if (priv->connecting_id) g_source_remove (priv->connecting_id); - + DEBUG ("Editing account name started; stopping flashing"); } @@ -591,7 +591,7 @@ accounts_dialog_model_get_selected_settings (EmpathyAccountsDialog *dialog) if (!gtk_tree_selection_get_selected (selection, &model, &iter)) return NULL; - + gtk_tree_model_get (model, &iter, COL_ACCOUNT_SETTINGS_POINTER, &settings, -1); @@ -738,7 +738,7 @@ accounts_dialog_model_get_selected_account (EmpathyAccountsDialog *dialog) if (!gtk_tree_selection_get_selected (selection, &model, &iter)) return NULL; - + gtk_tree_model_get (model, &iter, COL_ACCOUNT_POINTER, &account, -1); return account; @@ -772,7 +772,7 @@ accounts_dialog_model_remove_selected (EmpathyAccountsDialog *dialog) if (!gtk_tree_selection_get_selected (selection, &model, &iter)) return FALSE; - + gtk_tree_model_get (model, &iter, COL_ACCOUNT_POINTER, &account, -1); @@ -867,7 +867,7 @@ accounts_dialog_add_account (EmpathyAccountsDialog *dialog, if (!accounts_dialog_get_account_iter (dialog, account, &iter)) gtk_list_store_append (GTK_LIST_STORE (model), &iter); - + settings = empathy_account_settings_new_for_account (account); gtk_list_store_set (GTK_LIST_STORE (model), &iter, @@ -1202,7 +1202,7 @@ accounts_dialog_cms_ready_cb (EmpathyConnectionManagers *cms, static void accounts_dialog_build_ui (EmpathyAccountsDialog *dialog) -{ +{ GtkBuilder *gui; gchar *filename; EmpathyAccountsDialogPriv *priv = GET_PRIV (dialog); |