maiku.vv: f0acd587: Properly free audio and video devices in...
maiku at soc.pidgin.im
maiku at soc.pidgin.im
Wed Aug 27 04:01:09 EDT 2008
-----------------------------------------------------------------
Revision: f0acd587065379d3fe66e65e1f3a31d8e456ec88
Ancestor: 60192276da78e09c5aa8c2ea3c97df0ff2ab3d76
Author: maiku at soc.pidgin.im
Date: 2008-08-27T07:34:32
Branch: im.pidgin.maiku.vv
URL: http://d.pidgin.im/viewmtn/revision/info/f0acd587065379d3fe66e65e1f3a31d8e456ec88
Modified files:
pidgin/gtkprefs.c
ChangeLog:
Properly free audio and video devices in the preferences.
-------------- next part --------------
============================================================
--- pidgin/gtkprefs.c c7f7b42aa6eda5f716483a504d31b1538f9161b3
+++ pidgin/gtkprefs.c ad2b201a7d8b7e97aef45ee70563ceb6d0cd2f90
@@ -2132,6 +2132,7 @@ media_plugin_changed_cb(const gchar *nam
video_devices, video_devices)) {
g_free(video_devices->data);
}
+ gst_object_unref(video);
}
if (video_items == NULL) {
@@ -2160,7 +2161,7 @@ media_plugin_changed_cb(const gchar *nam
preview_button = gtk_button_new_with_mnemonic(_("_Preview"));
g_signal_connect(G_OBJECT(preview_button), "clicked",
- G_CALLBACK(preview_button_clicked), video);
+ G_CALLBACK(preview_button_clicked), NULL);
gtk_container_add(GTK_CONTAINER(hbox), preview_button);
@@ -2241,6 +2242,7 @@ media_page()
video_devices, video_devices)) {
g_free(video_devices->data);
}
+ gst_object_unref(video);
}
if (audio != NULL) {
@@ -2250,6 +2252,7 @@ media_page()
audio_devices, audio_devices)) {
g_free(audio_devices->data);
}
+ gst_object_unref(audio);
}
if (video_items == NULL) {
@@ -2300,7 +2303,7 @@ media_page()
preview_button = gtk_button_new_with_mnemonic(_("_Preview"));
g_signal_connect(G_OBJECT(preview_button), "clicked",
- G_CALLBACK(preview_button_clicked), video);
+ G_CALLBACK(preview_button_clicked), NULL);
gtk_container_add(GTK_CONTAINER(hbox), preview_button);
gtk_container_add(GTK_CONTAINER(vbox), hbox);
More information about the Commits
mailing list