|
|
|
@ -215,9 +215,6 @@ void yon_ubl_status_box_render_thread(char *text, BACKGROUND_IMAGE_TYPE type){
|
|
|
|
g_idle_add_once((GSourceOnceFunc)_yon_ubl_status_box_render_thread,data);
|
|
|
|
g_idle_add_once((GSourceOnceFunc)_yon_ubl_status_box_render_thread,data);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Status spawn functions
|
|
|
|
// Status spawn functions
|
|
|
|
void __yon_ubl_status_box_destroyed(GtkWidget *,struct status_struct *statusstruct){
|
|
|
|
void __yon_ubl_status_box_destroyed(GtkWidget *,struct status_struct *statusstruct){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -282,7 +279,7 @@ void yon_ubl_status_box_despawn(GtkContainer *status_container){
|
|
|
|
if (!list) return;
|
|
|
|
if (!list) return;
|
|
|
|
GList *iter;
|
|
|
|
GList *iter;
|
|
|
|
for (iter=list;iter;iter=iter->next){
|
|
|
|
for (iter=list;iter;iter=iter->next){
|
|
|
|
struct status_struct *status = g_object_get_data(G_OBJECT(status_container),"status_struct");
|
|
|
|
struct status_struct *status = g_object_get_data(G_OBJECT(iter->data),"status_struct");
|
|
|
|
if (status->thread>(guint)0){
|
|
|
|
if (status->thread>(guint)0){
|
|
|
|
g_mutex_lock(&status->mutex);
|
|
|
|
g_mutex_lock(&status->mutex);
|
|
|
|
g_source_remove(status->thread);
|
|
|
|
g_source_remove(status->thread);
|
|
|
|
|