Mercurial > audlegacy
comparison audacious/main.c @ 813:c8cf439179b8 trunk
[svn] - Fix a ton and a half of memory leaks, via the wonderful Leonardo Boshell <leonardop -at- gentoo.org>.
author | nenolod |
---|---|
date | Fri, 10 Mar 2006 08:20:15 -0800 |
parents | 12c47704b4b5 |
children | a8fb5974c3a9 |
comparison
equal
deleted
inserted
replaced
812:f9a1ddb72432 | 813:c8cf439179b8 |
---|---|
905 // use a format string? | 905 // use a format string? |
906 void report_error(const gchar *error_text) | 906 void report_error(const gchar *error_text) |
907 { | 907 { |
908 fprintf(stderr,error_text); | 908 fprintf(stderr,error_text); |
909 if (options.headless!=1) { | 909 if (options.headless!=1) { |
910 gtk_message_dialog_format_secondary_text(err,error_text); | 910 gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(err), |
911 error_text); | |
911 gtk_dialog_run(GTK_DIALOG(err)); | 912 gtk_dialog_run(GTK_DIALOG(err)); |
912 gtk_widget_hide(GTK_WIDGET(err)); | 913 gtk_widget_hide(err); |
913 } | 914 } |
914 } | 915 } |
915 | 916 |
916 gint | 917 gint |
917 main(gint argc, gchar ** argv) | 918 main(gint argc, gchar ** argv) |