diff options
Diffstat (limited to 'src/plugins/fs/extensions/musicinsert.c')
-rw-r--r-- | src/plugins/fs/extensions/musicinsert.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/fs/extensions/musicinsert.c b/src/plugins/fs/extensions/musicinsert.c index 0e5798f5..8948e44d 100644 --- a/src/plugins/fs/extensions/musicinsert.c +++ b/src/plugins/fs/extensions/musicinsert.c | |||
@@ -349,7 +349,7 @@ set_File_Keywords (const gchar * filename) | |||
349 | (g_list_find_custom | 349 | (g_list_find_custom |
350 | (ArtistList, keywords[3], (GCompareFunc) strcmp) == NULL)) | 350 | (ArtistList, keywords[3], (GCompareFunc) strcmp) == NULL)) |
351 | { | 351 | { |
352 | ArtistList = g_list_append (ArtistList, STRDUP (keywords[3])); | 352 | ArtistList = g_list_append (ArtistList, GNUNET_strdup (keywords[3])); |
353 | gtk_combo_box_append_text (GTK_COMBO_BOX (artistcombobox), keywords[3]); | 353 | gtk_combo_box_append_text (GTK_COMBO_BOX (artistcombobox), keywords[3]); |
354 | } | 354 | } |
355 | 355 | ||
@@ -359,7 +359,7 @@ set_File_Keywords (const gchar * filename) | |||
359 | (g_list_find_custom | 359 | (g_list_find_custom |
360 | (AlbumList, keywords[4], (GCompareFunc) strcmp)) == NULL) | 360 | (AlbumList, keywords[4], (GCompareFunc) strcmp)) == NULL) |
361 | { | 361 | { |
362 | AlbumList = g_list_append (AlbumList, STRDUP (keywords[4])); | 362 | AlbumList = g_list_append (AlbumList, GNUNET_strdup (keywords[4])); |
363 | gtk_combo_box_append_text (GTK_COMBO_BOX (albumcombobox), keywords[4]); | 363 | gtk_combo_box_append_text (GTK_COMBO_BOX (albumcombobox), keywords[4]); |
364 | } | 364 | } |
365 | 365 | ||
@@ -369,7 +369,7 @@ set_File_Keywords (const gchar * filename) | |||
369 | { | 369 | { |
370 | if ((g_list_find_custom | 370 | if ((g_list_find_custom |
371 | (TypeList, keywords[5], (GCompareFunc) strcmp)) == NULL) | 371 | (TypeList, keywords[5], (GCompareFunc) strcmp)) == NULL) |
372 | TypeList = g_list_append (TypeList, STRDUP (keywords[5])); | 372 | TypeList = g_list_append (TypeList, GNUNET_strdup (keywords[5])); |
373 | 373 | ||
374 | if (strcmp (keywords[5], "application/ogg") == 0) | 374 | if (strcmp (keywords[5], "application/ogg") == 0) |
375 | gtk_combo_box_set_active (GTK_COMBO_BOX (typecombobox), FORMAT_OGG); | 375 | gtk_combo_box_set_active (GTK_COMBO_BOX (typecombobox), FORMAT_OGG); |
@@ -382,7 +382,7 @@ set_File_Keywords (const gchar * filename) | |||
382 | } | 382 | } |
383 | else | 383 | else |
384 | { | 384 | { |
385 | TypeList = g_list_append (TypeList, STRDUP ("unspecified")); | 385 | TypeList = g_list_append (TypeList, GNUNET_strdup ("unspecified")); |
386 | } | 386 | } |
387 | 387 | ||
388 | keywords[6] = | 388 | keywords[6] = |
@@ -480,7 +480,7 @@ insertfiles () | |||
480 | &fileiter)) | 480 | &fileiter)) |
481 | { | 481 | { |
482 | gchar *error_message = | 482 | gchar *error_message = |
483 | STRDUP (_ | 483 | GNUNET_strdup (_ |
484 | ("No files to insert ! Please add files to the list before validating.")); | 484 | ("No files to insert ! Please add files to the list before validating.")); |
485 | GtkWidget *message_dialog = | 485 | GtkWidget *message_dialog = |
486 | gtk_message_dialog_new (GTK_WINDOW (musicinsertdialog), | 486 | gtk_message_dialog_new (GTK_WINDOW (musicinsertdialog), |
@@ -490,7 +490,7 @@ insertfiles () | |||
490 | "%s", error_message); | 490 | "%s", error_message); |
491 | gtk_dialog_run (GTK_DIALOG (message_dialog)); | 491 | gtk_dialog_run (GTK_DIALOG (message_dialog)); |
492 | gtk_widget_destroy (message_dialog); | 492 | gtk_widget_destroy (message_dialog); |
493 | FREE (error_message); | 493 | GNUNET_free (error_message); |
494 | return FALSE; | 494 | return FALSE; |
495 | } | 495 | } |
496 | 496 | ||
@@ -609,7 +609,7 @@ insertfiles () | |||
609 | ECRS_addToMetaData (tempmetadata, EXTRACTOR_KEYWORDS, "music"); | 609 | ECRS_addToMetaData (tempmetadata, EXTRACTOR_KEYWORDS, "music"); |
610 | } | 610 | } |
611 | 611 | ||
612 | FREE (tempmetas); | 612 | GNUNET_free (tempmetas); |
613 | i++; | 613 | i++; |
614 | } | 614 | } |
615 | while (gtk_tree_model_iter_next | 615 | while (gtk_tree_model_iter_next |
@@ -748,7 +748,7 @@ on_diraddbutton_clicked (GtkButton * button, gpointer user_data) | |||
748 | } | 748 | } |
749 | else | 749 | else |
750 | { | 750 | { |
751 | gchar *error_message = STRDUP (_("Could not open the directory :\n")); | 751 | gchar *error_message = GNUNET_strdup (_("Could not open the directory :\n")); |
752 | GtkWidget *message_dialog = | 752 | GtkWidget *message_dialog = |
753 | gtk_message_dialog_new (GTK_WINDOW (musicinsertdialog), | 753 | gtk_message_dialog_new (GTK_WINDOW (musicinsertdialog), |
754 | GTK_DIALOG_DESTROY_WITH_PARENT, | 754 | GTK_DIALOG_DESTROY_WITH_PARENT, |