mirror of https://github.com/GNOME/gimp.git
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:
parent
8a1d7faf11
commit
583bea6c30
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue