Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 119978 Details for
Bug 178625
media-sound/audacious segfault
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
si_ui.c.2.diff
si_ui.c.2.diff (text/plain), 1.98 KB, created by
Tony Vroon (RETIRED)
on 2007-05-22 09:37:01 UTC
(
hide
)
Description:
si_ui.c.2.diff
Filename:
MIME Type:
Creator:
Tony Vroon (RETIRED)
Created:
2007-05-22 09:37:01 UTC
Size:
1.98 KB
patch
obsolete
>Index: si_ui.c >=================================================================== >--- si_ui.c (revision 2207) >+++ si_ui.c (working copy) >@@ -219,13 +218,11 @@ > static void > si_ui_statusicon_cb_hook_tchange ( gpointer plentry_gp , gpointer prevs_gp ) > { >- /* NOTE: this is quite intricated, but it works nicely and it's still >- much better than polling; wonder if it can be simplified with some >- help from the core player */ > si_hook_tchange_prevs_t *prevs = prevs_gp; > PlaylistEntry *pl_entry = plentry_gp; >- if ( ( GPOINTER_TO_INT(g_object_get_data( G_OBJECT(prevs->evbox) , "popup_active" )) == 1 ) && >- ( plentry_gp != NULL ) ) >+ gboolean upd_pop = FALSE; >+ >+ if ( pl_entry != NULL ) > { > if ( ( prevs->title != NULL ) && ( prevs->filename != NULL ) ) > { >@@ -235,10 +232,9 @@ > if ( ( pl_entry->title != NULL ) && > ( strcmp(pl_entry->title,prevs->title) ) ) > { >- si_ui_statusicon_popup_hide( prevs->evbox ); >- si_ui_statusicon_popup_timer_start( prevs->evbox ); > g_free( prevs->title ); > prevs->title = g_strdup(pl_entry->title); >+ upd_pop = TRUE; > } > } > else >@@ -246,8 +242,7 @@ > g_free(prevs->filename); > prevs->filename = g_strdup(pl_entry->filename); > /* if filename changes, reset title as well */ >- if ( prevs->title != NULL ) >- g_free(prevs->title); >+ g_free(prevs->title); > prevs->title = g_strdup(pl_entry->title); > } > } >@@ -261,10 +256,12 @@ > prevs->filename = g_strdup(pl_entry->filename); > } > } >- else if ( ( prevs->title != NULL ) && ( strcmp(pl_entry->title,prevs->title) ) ) >+ >+ if ( ( upd_pop == TRUE ) && >+ ( GPOINTER_TO_INT(g_object_get_data( G_OBJECT(prevs->evbox) , "popup_active" )) == 1 ) ) > { >- g_free(prevs->title); >- prevs->title = g_strdup(pl_entry->title); >+ si_ui_statusicon_popup_hide( prevs->evbox ); >+ si_ui_statusicon_popup_timer_start( prevs->evbox ); > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 178625
:
119355
|
119356
|
119967
| 119978 |
120497
|
121108
|
121734
|
121736