Mercurial > audlegacy
diff src/audacious/ui_preferences.c @ 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 | b0f4ab42dd3b |
children | 22136a5c3ea6 |
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(); }