Just changed a silent return if devices_info == NULL to a g_return_if_fail.

Now that Gtk+ is fixed, this case should not happen.
This commit is contained in:
Raph Levien 1998-11-27 19:49:53 +00:00
parent 8a1d7faf11
commit 583bea6c30
6 changed files with 11 additions and 10 deletions

View File

@ -1,3 +1,9 @@
Fri Nov 27 11:45:03 1998 Raph Levien <raph@gimp.org>
* app/devices.c (devices_restore): changed silent return on
device_info == NULL to a g_warning_if_fail (now that Gtk+ is fixed,
this case should never happen).
Wed Nov 25 18:37:44 1998 Owen Taylor <otaylor@redhat.com>
* plug-ins/gz/gz.c: We don't need GTK+, and we

View File

@ -235,8 +235,7 @@ devices_restore()
tmp_list = tmp_list->next;
}
if (device_info == NULL)
return;
g_return_if_fail (device_info != NULL);
suppress_update = TRUE;

View File

@ -235,8 +235,7 @@ devices_restore()
tmp_list = tmp_list->next;
}
if (device_info == NULL)
return;
g_return_if_fail (device_info != NULL);
suppress_update = TRUE;

View File

@ -235,8 +235,7 @@ devices_restore()
tmp_list = tmp_list->next;
}
if (device_info == NULL)
return;
g_return_if_fail (device_info != NULL);
suppress_update = TRUE;

View File

@ -235,8 +235,7 @@ devices_restore()
tmp_list = tmp_list->next;
}
if (device_info == NULL)
return;
g_return_if_fail (device_info != NULL);
suppress_update = TRUE;

View File

@ -235,8 +235,7 @@ devices_restore()
tmp_list = tmp_list->next;
}
if (device_info == NULL)
return;
g_return_if_fail (device_info != NULL);
suppress_update = TRUE;