[Rhythmbox-devel] Patch to fix segfault on nonexistent "/state/selected_source" gconfkey
- From: Jeffrey Yasskin <jyasskin mail utexas edu>
- To: Rhythmbox Dev <rhythmbox-devel gnome org>
- Subject: [Rhythmbox-devel] Patch to fix segfault on nonexistent "/state/selected_source" gconfkey
- Date: Thu, 04 Mar 2004 18:24:30 -0600
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If nobody has any objections to this patch, I'll commit it tomorrow:
(Stupid email clients wrapping lines: the (CONF...) should be on the
same line.)
- --- orig/shell/rb-shell.c
+++ mod/shell/rb-shell.c
@@ -2345,6 +2345,7 @@
~ GList *tmp;
~ internalname = eel_gconf_get_string (CONF_STATE_SELECTED_SOURCE);
+ g_return_if_fail (internalname);
~ for (tmp = shell->priv->sources; tmp ; tmp = tmp->next) {
~ const char *tmpname;
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAR8i+fjbRRQT0l5URAkqTAJ0R/Cxjy7mOPW62FRCDCaMaHfVlewCfTGl2
XJksP/HwtcE9HoAyNtE8cJY=
=gnNK
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]