[SCM] calf/master: Fix crash on preset save.

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:40:11 UTC 2013


The following commit has been merged in the master branch:
commit d1b85b054134d5bfc1d1c4b708de26f74a27c6fc
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Sat May 8 13:21:49 2010 +0100

    Fix crash on preset save.

diff --git a/src/preset_gui.cpp b/src/preset_gui.cpp
index 34b22dd..9fb1a91 100644
--- a/src/preset_gui.cpp
+++ b/src/preset_gui.cpp
@@ -56,7 +56,7 @@ void gui_preset_access::store_preset()
     }
     store_preset_xml = glade_xml_new(PKGLIBDIR "/calf.glade", NULL, NULL);
     store_preset_dlg = glade_xml_get_widget(store_preset_xml, "store_preset");
-    gtk_signal_connect(GTK_OBJECT(store_preset_dlg), "destroy", G_CALLBACK(on_dlg_destroy_window), NULL);
+    gtk_signal_connect(GTK_OBJECT(store_preset_dlg), "destroy", G_CALLBACK(on_dlg_destroy_window), (gui_preset_access *)this);
 //    gtk_widget_set_name(GTK_WIDGET(store_preset_dlg), "Calf-Preset");
     GtkWidget *preset_name_combo = glade_xml_get_widget(store_preset_xml, "preset_name");    
     GtkTreeModel *model = GTK_TREE_MODEL(gtk_list_store_new(1, G_TYPE_STRING));

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list