comparison pidgin-twitter.h @ 177:0339b4abe290 multiaccounts

- fixed a problem that preferences per conversation die when its name of PurpleConversation changed. - fixed a problem that some getting messages were lost from API with multiaccounts of Twitter.
author mikanbako <maoutwo@gmail.com>
date Sun, 03 Aug 2008 12:15:09 +0900
parents 7affa10c1f0e
children 1265988dc2bf
comparison
equal deleted inserted replaced
176:7affa10c1f0e 177:0339b4abe290
214 static void counter_prefs_cb(const char *name, PurplePrefType type, gconstpointer val, gpointer data); 214 static void counter_prefs_cb(const char *name, PurplePrefType type, gconstpointer val, gpointer data);
215 215
216 static void init_plugin(PurplePlugin *plugin); 216 static void init_plugin(PurplePlugin *plugin);
217 static void remove_marks_func(gpointer key, gpointer value, gpointer user_data); 217 static void remove_marks_func(gpointer key, gpointer value, gpointer user_data);
218 static void cancel_fetch_func(gpointer key, gpointer value, gpointer user_data); 218 static void cancel_fetch_func(gpointer key, gpointer value, gpointer user_data);
219 static const char *get_service_name(PurpleAccount *account, const char *conv_name);
219 static gint get_service_type(PurpleConversation *conv); 220 static gint get_service_type(PurpleConversation *conv);
220 static GdkPixbuf *make_scaled_pixbuf(const gchar *url_text, gsize len); 221 static GdkPixbuf *make_scaled_pixbuf(const gchar *url_text, gsize len);
221 static void open_account_preference_window(GtkWidget *called_widged, gpointer gtkconv_ptr); 222 static void open_account_preference_window(GtkWidget *called_widged, gpointer gtkconv_ptr);
222 static void build_screen_name_preference_form(PurpleConversation *conv, GtkWidget *notebook); 223 static void build_screen_name_preference_form(PurpleConversation *conv, GtkWidget *notebook);
223 static void build_twitter_api_preference_form(PurpleConversation *conv, GtkWidget *notebook); 224 static void build_twitter_api_preference_form(PurpleConversation *conv, GtkWidget *notebook);
226 static void account_preference_text_changed_cb(GtkEditable *editable, gpointer conv_ptr); 227 static void account_preference_text_changed_cb(GtkEditable *editable, gpointer conv_ptr);
227 static void account_preference_api_base_post_changed(void); 228 static void account_preference_api_base_post_changed(void);
228 static void account_preference_bool_toggled_cb(GtkToggleButton *togglebutton, gpointer conv_ptr); 229 static void account_preference_bool_toggled_cb(GtkToggleButton *togglebutton, gpointer conv_ptr);
229 static void account_preference_interval_changed(PurpleAccount *account, const char *conv_name); 230 static void account_preference_interval_changed(PurpleAccount *account, const char *conv_name);
230 static void account_preference_spin_changed_cb(GtkSpinButton *spinbutton, gpointer conv_ptr); 231 static void account_preference_spin_changed_cb(GtkSpinButton *spinbutton, gpointer conv_ptr);
231 static gchar* create_key_with_service_account(const char *conv_name, const char *key); 232 static gchar* create_key_with_service_account(PurpleAccount *account, const char *conv_name, const char *key);
232 static void service_account_set_string(PurpleAccount *account, const char *conv_name, const char *key, const char *value); 233 static void service_account_set_string(PurpleAccount *account, const char *conv_name, const char *key, const char *value);
233 static const char* service_account_get_string(PurpleAccount *account, const char *conv_name, const char *key, const char *default_value); 234 static const char* service_account_get_string(PurpleAccount *account, const char *conv_name, const char *key, const char *default_value);
234 static void service_account_set_int(PurpleAccount *account, const char *conv_name, const char *key, gboolean value); 235 static void service_account_set_int(PurpleAccount *account, const char *conv_name, const char *key, gboolean value);
235 static gboolean service_account_get_int(PurpleAccount *account, const char *conv_name, const char *key, gboolean default_value); 236 static gboolean service_account_get_int(PurpleAccount *account, const char *conv_name, const char *key, gboolean default_value);
236 static void service_account_set_bool(PurpleAccount *account, const char *conv_name, const char *key, gboolean value); 237 static void service_account_set_bool(PurpleAccount *account, const char *conv_name, const char *key, gboolean value);