Move locate_pointer out.

Mon Jan 21 01:29:57 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-keyboard.c: Move locate_pointer out.

	* gnome-settings-mouse.c: Move locate_pointer in.  Clean up code.
	Remove print statements.
This commit is contained in:
Jonathan Blandford 2002-01-21 06:38:45 +00:00 committed by Jonathan Blandford
parent 5a8613bc68
commit d56503be2a
6 changed files with 123 additions and 156 deletions

View file

@ -679,7 +679,8 @@ peditor_select_radio_value_changed (GConfClient *client,
value_wid = peditor->p->conv_to_widget_cb (value);
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (peditor->p->ui_control));
group = g_slist_nth (group, gconf_value_get_int (value_wid));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (group->data), TRUE);
if (group && group->data)
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (group->data), TRUE);
gconf_value_free (value_wid);
}
}