Mercurial > audlegacy-plugins
changeset 132:26a5aef73955 trunk
[svn] Fixes compiler warnings that "Joker" was talking about in #audacious.
author | asheldon |
---|---|
date | Fri, 27 Oct 2006 12:50:20 -0700 |
parents | 561871379579 |
children | 603d5ff9d4bd |
files | ChangeLog src/alarm/alarm.c |
diffstat | 2 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Oct 27 12:07:11 2006 -0700 +++ b/ChangeLog Fri Oct 27 12:50:20 2006 -0700 @@ -1,3 +1,11 @@ +2006-10-27 19:07:11 +0000 William Pitcock <nenolod@nenolod.net> + revision [262] + - apply fixes from Christian Birchinger <joker -at- gentoo.org>. + + trunk/src/alarm/interface.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + + 2006-10-27 18:58:34 +0000 William Pitcock <nenolod@nenolod.net> revision [260] - provide a complete tuple (fixes albumart and such; path was missing.)
--- a/src/alarm/alarm.c Fri Oct 27 12:07:11 2006 -0700 +++ b/src/alarm/alarm.c Fri Oct 27 12:50:20 2006 -0700 @@ -412,9 +412,10 @@ DEBUG("alarm_store_playlistname\n"); - plist = gtk_file_selection_get_filename(fs); + plist = g_strdup(gtk_file_selection_get_filename(fs)); gtk_entry_set_text(alarm_conf.playlist, plist); + g_free(plist); } /* @@ -916,7 +917,7 @@ DEBUG("Showing reminder '%s'\n", alarm_conf.reminder_msg); GDK_THREADS_ENTER(); - reminder_dialog = create_reminder_dialog(alarm_conf.reminder_msg); + reminder_dialog = (GtkWidget*) create_reminder_dialog(alarm_conf.reminder_msg); gtk_signal_connect(GTK_OBJECT(reminder_dialog), "destroy", GTK_SIGNAL_FUNC(dialog_destroyed), &reminder_dialog); gtk_widget_show_all(reminder_dialog);