Fixes #356074
2006-09-15 Rodrigo Moya <rodrigo@novell.com> Fixes #356074 * gnome-keyboard-properties-xkb.c (set_model_text): make sure 'model' is never NULL. Original patch from Brian Cameron <brian.cameron@sun.com>.
This commit is contained in:
parent
3ec36c725f
commit
6534f723c6
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-09-15 Rodrigo Moya <rodrigo@novell.com>
|
||||
|
||||
Fixes #356074
|
||||
|
||||
* gnome-keyboard-properties-xkb.c (set_model_text): make sure 'model'
|
||||
is never NULL. Original patch from Brian Cameron <brian.cameron@sun.com>.
|
||||
|
||||
2006-08-07 Rodrigo Moya <rodrigo@novell.com>
|
||||
|
||||
Fixes #348847
|
||||
|
|
|
@ -70,7 +70,11 @@ set_model_text (GtkWidget * entry,
|
|||
}
|
||||
|
||||
if (model == NULL)
|
||||
{
|
||||
model = initial_config.model;
|
||||
if (model == NULL)
|
||||
model = "";
|
||||
}
|
||||
|
||||
g_snprintf (ci.name, sizeof (ci.name), "%s", model);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue