Mercurial > audlegacy
changeset 3542:f8880f2e0501 trunk
Fix crash on calling plugin->configure() in preferences when plugin->configure==NULL
author | Sascha Hlusiak <contact@saschahlusiak.de> |
---|---|
date | Tue, 18 Sep 2007 16:26:09 +0200 |
parents | 19cbbbf1b738 |
children | 22136a5c3ea6 |
files | src/audacious/ui_preferences.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_preferences.c Mon Sep 17 22:43:19 2007 -0700 +++ b/src/audacious/ui_preferences.c Tue Sep 18 16:26:09 2007 +0200 @@ -883,6 +883,7 @@ gtk_tree_model_get(model, &iter, PLUGIN_VIEW_COL_PLUGIN_PTR, &plugin, -1); g_return_if_fail(plugin != NULL); + g_return_if_fail(plugin->configure != NULL); plugin->configure(); }