| 16474:bc8580a69dba | 16475:da810de7b84d |
|---|---|
| 897 static void | 897 static void |
| 898 add_popular_statuses(PidginStatusBox *statusbox) | 898 add_popular_statuses(PidginStatusBox *statusbox) |
| 899 { | 899 { |
| 900 GList *list, *cur; | 900 GList *list, *cur; |
| 901 GdkPixbuf *pixbuf; | 901 GdkPixbuf *pixbuf; |
| 902 PidginStatusBoxItemType type = PIDGIN_STATUS_BOX_TYPE_POPULAR; | |
| 903 | 902 |
| 904 list = purple_savedstatuses_get_popular(6); | 903 list = purple_savedstatuses_get_popular(6); |
| 905 if (list == NULL) | 904 if (list == NULL) |
| 906 /* Odd... oh well, nothing we can do about it. */ | 905 /* Odd... oh well, nothing we can do about it. */ |
| 907 return; | 906 return; |
| 912 { | 911 { |
| 913 PurpleSavedStatus *saved = cur->data; | 912 PurpleSavedStatus *saved = cur->data; |
| 914 const gchar *message; | 913 const gchar *message; |
| 915 gchar *stripped = NULL; | 914 gchar *stripped = NULL; |
| 916 PurpleStatusPrimitive prim; | 915 PurpleStatusPrimitive prim; |
| 916 PidginStatusBoxItemType type = PIDGIN_STATUS_BOX_TYPE_POPULAR; | |
| 917 | 917 |
| 918 /* Get an appropriate status icon */ | 918 /* Get an appropriate status icon */ |
| 919 prim = purple_savedstatus_get_type(saved); | 919 prim = purple_savedstatus_get_type(saved); |
| 920 | 920 |
| 921 | 921 |