| 57 |
57 |
| 58 pidgin_dialogs_im_with_user(account, username); |
58 pidgin_dialogs_im_with_user(account, username); |
| 59 } |
59 } |
| 60 |
60 |
| 61 static gboolean |
61 static gboolean |
| 62 pidgin_dialogs_im_name_validator(PurpleRequestField *field, gchar **errmsg, |
62 pidgin_dialogs_im_name_validator(G_GNUC_UNUSED PurpleRequestField *field, |
| 63 void *_fields) |
63 char **errmsg, gpointer _fields) |
| 64 { |
64 { |
| 65 PurpleRequestFields *fields = _fields; |
65 PurpleRequestFields *fields = _fields; |
| 66 PurpleAccount *account; |
66 PurpleAccount *account; |
| 67 PurpleProtocol *protocol; |
67 PurpleProtocol *protocol; |
| 68 const char *username; |
68 const char *username; |
| 135 pidgin_conv_attach_to_conversation(im); |
135 pidgin_conv_attach_to_conversation(im); |
| 136 purple_conversation_present(im); |
136 purple_conversation_present(im); |
| 137 } |
137 } |
| 138 |
138 |
| 139 static void |
139 static void |
| 140 pidgin_dialogs_info_cb(gpointer data, PurpleRequestFields *fields) |
140 pidgin_dialogs_info_cb(G_GNUC_UNUSED gpointer data, |
| |
141 PurpleRequestFields *fields) |
| 141 { |
142 { |
| 142 char *username; |
143 char *username; |
| 143 PurpleAccount *account; |
144 PurpleAccount *account; |
| 144 const gchar *screenname = NULL; |
145 const gchar *screenname = NULL; |
| 145 |
146 |