aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-11-13 23:15:17 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-13 23:59:22 +0800
commitd7e43c8e57ef7e164b77823983acb16bb2026672 (patch)
tree5e2a9254a03a0c116f3db88da383d9873d78e909 /libempathy-gtk/empathy-chat.c
parent77cd05e44a390273974fbb53266b0173a9ac7368 (diff)
downloadgsoc2013-empathy-d7e43c8e57ef7e164b77823983acb16bb2026672.tar
gsoc2013-empathy-d7e43c8e57ef7e164b77823983acb16bb2026672.tar.gz
gsoc2013-empathy-d7e43c8e57ef7e164b77823983acb16bb2026672.tar.bz2
gsoc2013-empathy-d7e43c8e57ef7e164b77823983acb16bb2026672.tar.lz
gsoc2013-empathy-d7e43c8e57ef7e164b77823983acb16bb2026672.tar.xz
gsoc2013-empathy-d7e43c8e57ef7e164b77823983acb16bb2026672.tar.zst
gsoc2013-empathy-d7e43c8e57ef7e164b77823983acb16bb2026672.zip
Respect indentation style.
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r--libempathy-gtk/empathy-chat.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index dc332c6d9..62b3d437b 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -2314,19 +2314,19 @@ empathy_chat_get_tp_chat (EmpathyChat *chat)
}
static void display_password_info_bar (EmpathyChat *self,
- gboolean retry);
+ gboolean retry);
static void
provide_password_cb (GObject *tp_chat,
- GAsyncResult *res,
- gpointer user_data)
+ GAsyncResult *res,
+ gpointer user_data)
{
EmpathyChat *self = EMPATHY_CHAT (user_data);
EmpathyChatPriv *priv = GET_PRIV (self);
GError *error = NULL;
if (!empathy_tp_chat_provide_password_finish (EMPATHY_TP_CHAT (tp_chat), res,
- &error)) {
+ &error)) {
DEBUG ("error: %s", error->message);
/* FIXME: what should we do if that's another error? Close the channel?
* Display the raw D-Bus error to the user isn't very useful */
@@ -2343,8 +2343,8 @@ provide_password_cb (GObject *tp_chat,
static void
password_infobar_response_cb (GtkWidget *info_bar,
- gint response_id,
- EmpathyChat *self)
+ gint response_id,
+ EmpathyChat *self)
{
EmpathyChatPriv *priv = GET_PRIV (self);
GtkWidget *entry;
@@ -2359,9 +2359,9 @@ password_infobar_response_cb (GtkWidget *info_bar,
password = gtk_entry_get_text (GTK_ENTRY (entry));
empathy_tp_chat_provide_password_async (priv->tp_chat, password,
- provide_password_cb, self);
+ provide_password_cb, self);
-out:
+ out:
gtk_widget_destroy (info_bar);
}
@@ -2381,7 +2381,7 @@ passwd_join_button_cb (GtkButton *button,
static void
display_password_info_bar (EmpathyChat *self,
- gboolean retry)
+ gboolean retry)
{
EmpathyChatPriv *priv = GET_PRIV (self);
GtkWidget *info_bar;
@@ -2418,7 +2418,7 @@ display_password_info_bar (EmpathyChat *self,
/* Add image */
image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_AUTHENTICATION,
- GTK_ICON_SIZE_DIALOG);
+ GTK_ICON_SIZE_DIALOG);
gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0);
/* Add message */
@@ -2431,7 +2431,7 @@ display_password_info_bar (EmpathyChat *self,
gtk_box_pack_start (GTK_BOX (hbox), entry, TRUE, TRUE, 0);
g_signal_connect (entry, "activate",
- G_CALLBACK (password_entry_activate_cb), info_bar);
+ G_CALLBACK (password_entry_activate_cb), info_bar);
/* Focus the password entry once it's realized */
g_signal_connect (entry, "realize", G_CALLBACK (gtk_widget_grab_focus), NULL);
@@ -2444,16 +2444,16 @@ display_password_info_bar (EmpathyChat *self,
gtk_box_pack_start (GTK_BOX (hbox), alig, FALSE, FALSE, 0);
g_signal_connect (button, "clicked", G_CALLBACK (passwd_join_button_cb),
- info_bar);
+ info_bar);
g_object_set_data (G_OBJECT (info_bar), "password-entry", entry);
gtk_box_pack_start (GTK_BOX (priv->info_bar_vbox), info_bar,
- FALSE, FALSE, 3);
+ FALSE, FALSE, 3);
gtk_widget_show_all (hbox);
g_signal_connect (info_bar, "response",
- G_CALLBACK (password_infobar_response_cb), self);
+ G_CALLBACK (password_infobar_response_cb), self);
gtk_widget_show_all (info_bar);
}