Fix potential crasher when web_radiobutton_toggled_cb is called and the

2009-01-30  Bastien Nocera  <hadess@hadess.net>

	* gnome-da-capplet.c (web_radiobutton_toggled_cb): Fix potential
	crasher when web_radiobutton_toggled_cb is called and the
	browser in GConf doesn't exist on the system anymore


svn path=/trunk/; revision=9219
This commit is contained in:
Bastien Nocera 2009-01-30 12:43:19 +00:00 committed by Bastien Nocera
parent c25d4f239d
commit 59004fc5eb
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2009-01-30 Bastien Nocera <hadess@hadess.net>
* gnome-da-capplet.c (web_radiobutton_toggled_cb): Fix potential
crasher when web_radiobutton_toggled_cb is called and the
browser in GConf doesn't exist on the system anymore
2009-01-28 Jens Granseuer <jensgr@gmx.net>
* gnome-da-capplet.c: (web_combo_changed_cb): update the entry with

View file

@ -77,6 +77,8 @@ web_radiobutton_toggled_cb (GtkWidget *togglebutton, GnomeDACapplet *capplet)
return;
item = (GnomeDAWebItem *) g_list_nth_data (capplet->web_browsers, index);
if (item == NULL)
return;
if (togglebutton == capplet->new_win_radiobutton) {
command = item->win_command;