| 958 static void |
956 static void |
| 959 add_protocol_options(AccountPrefsDialog *dialog, GtkWidget *parent) |
957 add_protocol_options(AccountPrefsDialog *dialog, GtkWidget *parent) |
| 960 { |
958 { |
| 961 GaimAccountOption *option; |
959 GaimAccountOption *option; |
| 962 GaimAccount *account; |
960 GaimAccount *account; |
| 963 GtkWidget *frame; |
961 GtkWidget *frame, *vbox, *check, *entry, *combo; |
| 964 GtkWidget *vbox; |
962 const GList *list, *node; |
| 965 GtkWidget *check; |
963 gint i, idx, int_value; |
| 966 GtkWidget *entry; |
|
| 967 GtkWidget *combo; |
|
| 968 const GList *list; |
|
| 969 const GList *node; |
|
| 970 gint i, idx; |
|
| 971 GtkListStore *model; |
964 GtkListStore *model; |
| 972 GtkTreeIter iter; |
965 GtkTreeIter iter; |
| 973 GtkCellRenderer *renderer; |
966 GtkCellRenderer *renderer; |
| 974 GaimKeyValuePair *kvp; |
967 GaimKeyValuePair *kvp; |
| 975 GList *l; |
968 GList *l; |
| 976 char buf[1024]; |
969 char buf[1024]; |
| 977 char *title; |
970 char *title; |
| 978 const char *str_value; |
971 const char *str_value; |
| 979 gboolean bool_value; |
972 gboolean bool_value; |
| 980 int int_value; |
|
| 981 |
973 |
| 982 if (dialog->protocol_frame != NULL) { |
974 if (dialog->protocol_frame != NULL) { |
| 983 gtk_widget_destroy(dialog->protocol_frame); |
975 gtk_widget_destroy(dialog->protocol_frame); |
| 984 dialog->protocol_frame = NULL; |
976 dialog->protocol_frame = NULL; |
| 985 } |
977 } |