Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 51062
Collapse All | Expand All

(-)easytag-0.30.2.orig/src/browser.c (-1 / +2 lines)
Lines 1852-1857 Link Here
1852
 */
1852
 */
1853
void Browser_Tree_Rebuild (gchar *path_to_load)
1853
void Browser_Tree_Rebuild (gchar *path_to_load)
1854
{
1854
{
1855
    gchar *current_path = NULL;
1856
1855
    /* May be called from GtkUIManager callback */
1857
    /* May be called from GtkUIManager callback */
1856
    if (GTK_IS_ACTION(path_to_load))
1858
    if (GTK_IS_ACTION(path_to_load))
1857
        path_to_load = NULL;
1859
        path_to_load = NULL;
Lines 1861-1867 Link Here
1861
        Browser_Tree_Select_Dir(path_to_load);
1863
        Browser_Tree_Select_Dir(path_to_load);
1862
        return;
1864
        return;
1863
    }
1865
    }
1864
    gchar *current_path = NULL;
1865
1866
1866
    /* Memorize the current path to load it again at the end */
1867
    /* Memorize the current path to load it again at the end */
1867
1868
(-)easytag-0.30.2.orig/src/id3_tag.c (-10 / +9 lines)
Lines 89-94 Link Here
89
    ID3Tag *id3_tag = NULL;    /* Tag defined by the id3lib */
89
    ID3Tag *id3_tag = NULL;    /* Tag defined by the id3lib */
90
    gchar  *string, *string1, *string2;
90
    gchar  *string, *string1, *string2;
91
    gchar *filename_real = filename_utf8;
91
    gchar *filename_real = filename_utf8;
92
    ID3Frame *id3_frame;
93
    ID3Field *id3_field;
94
    size_t offset;
95
    luint num_chars;
96
    guint field_num = 0; // First field
92
97
93
    if (!filename_real || !FileTag)
98
    if (!filename_real || !FileTag)
94
        return FALSE;
99
        return FALSE;
Lines 109-120 Link Here
109
        return FALSE;
114
        return FALSE;
110
    }
115
    }
111
116
112
    ID3Frame *id3_frame;
113
    ID3Field *id3_field;
114
    size_t offset;
115
    luint num_chars;
116
    guint field_num = 0; // First field
117
118
    /* Link the file to the tag */
117
    /* Link the file to the tag */
119
    offset = ID3Tag_Link_1(id3_tag,filename_real);
118
    offset = ID3Tag_Link_1(id3_tag,filename_real);
120
    if ( offset && CONVERT_OLD_ID3V2_TAG_VERSION )
119
    if ( offset && CONVERT_OLD_ID3V2_TAG_VERSION )
Lines 432-437 Link Here
432
    gboolean has_genre    = 1;
431
    gboolean has_genre    = 1;
433
    gboolean has_comment  = 1;
432
    gboolean has_comment  = 1;
434
    gboolean has_song_len = 1;
433
    gboolean has_song_len = 1;
434
    
435
    ID3Frame *id3_frame;
436
    ID3Field *id3_field;
437
    gchar *string, *string1;
435
438
436
    if (!ETFile || !ETFile->FileTag)
439
    if (!ETFile || !ETFile->FileTag)
437
        return FALSE;
440
        return FALSE;
Lines 462-471 Link Here
462
    basename_utf8 = basename_real;
465
    basename_utf8 = basename_real;
463
    TRANSLATE_FILENAME(basename_utf8, temp, FALSE);
466
    TRANSLATE_FILENAME(basename_utf8, temp, FALSE);
464
467
465
    ID3Frame *id3_frame;
466
    ID3Field *id3_field;
467
    gchar *string, *string1;
468
469
    ID3Tag_Link(id3_tag,filename_real);
468
    ID3Tag_Link(id3_tag,filename_real);
470
469
471
    /*********
470
    /*********

Return to bug 51062